Re: How to prevent installer using disk labels?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In article <47E1BC4C.7000507@xxxxxxxxx>,
Karanbir Singh <mail-lists@xxxxxxxxx> wrote:
> Tony Mountifield wrote:
> > Is there any way, when installing CentOS (or any RH-based distro),
> > to prevent it from using disk labels in /etc/fstab and /boot/grub/grub.conf,
> > and to force it to just use the actual device names?
> 
> I dont think there is any sane way, in either the C4 or C5 installers. 
> If you do find a way to do that, let me know.
> 
> There is presently a conversation going on with the anaconda developers 
> about dropping labelling completely, but that might be a long time 
> before we see that in EL / CentOS released distros

OK, thanks for the info.

> > For testing purposes, I am installing two different CentOS versions in
> > different partitions, and am having to change from labels to device names
> > by hand, and re-label the disks, in order to avoid the boot process getting
> > confused between the filesystems.
> 
> you could always just change fstab, perhaps a sneaky script in %post of 
> the kickstart to do the hard work for you ?

Yes, for now I am just editing fstab and grub.conf by hand, but it might
be possible to automate it somehow in a script, using e2label to find the
correct device names.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux