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

Re: Label= now works



Cameron Simpson wrote:
On 25Jul2007 15:56, Karl Larsen <k5di zianet com> wrote:
I did some careful writing in grub.conf and fstab and used e2label and mkswap -L and my whole F7 is now done with labels that I think are smart. It all works so it is a success.

Care to show us your grub.conf and fstab then? It would be interesting
to see.
Here goes:

[root k5di etc]# more fstab
LABEL=f7                /                       ext3    defaults        1 1
LABEL=fc6               /fc6                    ext3    noauto,user     0 0
LABEL=fc4               /fc4                    ext3    noauto,user     0 0
/dev/sda1               /win                    ntfs    noauto,user     0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=swap2             swap                    swap    defaults        0 0
LABEL=swap1             swap                    swap    defaults        0 0
[root k5di etc]#

hiddenmenu
title Fedora (2.6.22.1-27.fc7)
        root (hd1,5)
        kernel /boot/vmlinuz-2.6.22.1-27.fc7 ro root=LABEL=f7 rhgb quiet
        initrd /boot/initrd-2.6.22.1-27.fc7.img
title Fedora (2.6.21-1.3228.fc7)
        root (hd1,5)
        kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=f7 rhgb quiet
        initrd /boot/initrd-2.6.21-1.3228.fc7.img
title Fedora Core (2.6.20-1.2962.fc6)
        root (hd1,4)
        kernel /boot/vmlinuz-2.6.20-1.2962.fc6 ro root=LABEL=fc6 rhgb quiet
        initrd /boot/initrd-2.6.20-1.2962.fc6.img

title Fedora Core (2.6.20-1.2952.fc6)
        root (hd1,4)
        kernel /boot/vmlinuz-2.6.20-1.2952.fc6 ro root=LABEL=fc6 rhgb quiet
        initrd /boot/initrd-2.6.20-1.2952.fc6.img

title Fedora Core (2.6.16-1.2111_FC4)

OK that is what I did. It works.
--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


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