Problem build initrd file

Bill McGonigle bill at bfccomputing.com
Sun Mar 25 14:07:04 EDT 2007


On Mar 23, 2007, at 16:57, Don Leslie wrote:

> I tried
> kernel /vmlinux-2.4.21-27-mpt_scsi ro root=LABEL=/dev/sda1 hda=ide- 
> scsi
>    &
> kernel /vmlinux-2.4.21-27-mpt_scsi ro root=LABEL=/dev/hda1 hda=ide- 
> scsi
>
> I get the same error .

You can have anything in an ext2 filesystem label, but odds are high  
they're not labeled with device names (e.g. /dev/sda1)

So, in the above examples,

   kernel /vmlinux-2.4.21-27-mpt_scsi ro root=/dev/sda1 hda=ide-scsi

is more likely to be right than the LABEL= variant.  Using labels for  
meaningful tags is useful, like root=LABEL=rootdisk.  I'd probably go  
so far as to say labeling a filesystem with a LABEL that is device  
name is confusing and harmful.

see 'man e2label' for more on filesystem labeling.

Just a small point on your more complex problem...

-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