Making Debian ignore a drive

Bill McGonigle bill at bfccomputing.com
Tue Apr 10 12:16:51 EDT 2007


On Apr 10, 2007, at 10:43, klussier at comcast.net wrote:

> I can install to sdb and after the intall is done, re-configure  
> GRUB to use the correct drive, and everything is fine.

I know this isn't what you asked, but it's an alternate solution -  
use filesystem labels in GRUB.

Set the BIOS to boot the USB stuff later than your (SATA/SCSI) disks.

When the system is booted, do:

   e2label /dev/sdb1 myrootdisk

then in grub, add

   root=LABEL=myrootdisk

to the kernel line.

Then, sit back and don't worry about the BIOS messing up your drive  
order.  Taunt your BIOS for fun.

Even better, setup RAID and do, e.g.:

   root=/dev/md1

instead.  Let the md subsystem assemble your drives for you based on  
UUID.  And don't worry about spindle motor failures anymore. :)

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
New Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf



More information about the gnhlug-discuss mailing list