disk name change hda/sda between install and runtime kernel

Christian Meissner c.meissner at heinlein-support.de
Sun May 17 20:23:44 CEST 2009

On Sun, May 17, 2009 at 04:12:10PM +0200, Henning Sprang wrote:
> Hi,
> If I remember correctly, due to the change that IDE disks will also be
> access by sd* device names in some recent kernel version, I have the
> problem that when installing a host that is using a 2.6.28 Kernel
> (Ubuntu, but it probably would be the same with a custom kernel), after
> rebooting the installed system does not find the disks to mount from
> fstab because there we have "hda" but there is only sda.
> That all happens with a partitioning with setup storage from FAI 3.2.16
> on a Lenny install server.
> I'm now tempted to just quickly write a hook(/hack) that replaces hda
> with sda at the very end of the install - but there might be some better
> solution?!

may be u can convert your disks entries into uuids

	/lib/udev/vol_id /dev/hda5

and so u can rewrite your fstab. 


More information about the linux-fai mailing list