PDA

View Full Version : [ubuntu] Preseeding with single HHD+ RAID - /dev/sda changes



bmckim
August 2nd, 2011, 05:21 PM
I have an LVM partition recipe that works fine, but we want to start adding in a separate disk to put the operating system on. The problem I am running into is I do not know whether the RAID will be /dev/sda or the single HD will be /dev/sda. Is there a better way to tell the OS which drive to install on?

psusi
August 2nd, 2011, 06:36 PM
What? sda is always a single hard drive, md0 is a raid array.

bmckim
August 2nd, 2011, 06:40 PM
I am using hardware RAID and it just shows up as /dev/sd*

psusi
August 2nd, 2011, 06:57 PM
Then the OS does not know or care whether you are using a raid or not, so it makes no difference.

psusi
August 2nd, 2011, 07:00 PM
Oh wait, you are saying that you are going to have two disks basically, and don't know which one is which? Well yea, that is always a problem. Even if you only have a single disk, if you are installing from a LiveUSB stick, sometimes the usb stick gets sda and the hard disk becomes sdb. You can not rely on device designations like that because they can change even on the same machine across reboots.

bmckim
August 2nd, 2011, 08:09 PM
Correct. But I have to specify which disk to install to. So is there a better method to use rather then /dev/sda?

psusi
August 2nd, 2011, 08:25 PM
I think you just can't preseed the installation disk properly.

bmckim
August 2nd, 2011, 08:28 PM
Not really an option :(