Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am booting CentOS via a USB install. The boot method is simply booting the ISO from GRUB2 installed on the USB Key and then grabbing a Kickstart file from a server in the net. The Kickstart file is supposed to format the first harddrive labled normally /dev/sda. This works when I boot via CD, how ever, with the USB, the USB key always gets the "name" /dev/sda. So the kickstart tried to format the USB! Can I change that name from the kernel command line? instead of editing the the KS file ?

What would be the correct kernel boot paramerter to do this?

Just adding some info: When I boot Debian from an external USB hard-drive, that hard drive is labeled /dev/sdb, and the one inside the laptop is labeled /dev/sda. This really enhances my suspicion I can control the labels, but how ?

I know about udev rules, I don't want to change the udev rules inside the standard CentOS iso ...

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It is propably the BIOS that places the USB-Stick as first boot device. Try to change the start order to

  1. First Harddisk (wipe out the MBR so it will NOT boot)
  2. Second USB

Perhaps that will help to place your USB-Stick to "sdb".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.