Well I'm not sure what the logic behind it was but for whatever reason the
update has renamed your filesystems. You can rename them back provided you
sync all the things that reference them.

1) use e2label to relabel them
2) change /etc/fstab to match
3) change /boot/grub/grub.conf so that the kernel lines have
'root=LABEL=/' for example.

With step 3, if you have /boot /boot1 and /boot11 then you'll need to
decide which is the real one - the root=(hd0,n) in grub.conf should also
match; n is the partition number starting from zero. Experiment by adding
bogus entries in the different grub.conf files and reboot to see which one
you get.

If you want to actually use a different one, then at the grub prompt go to
command mode and do the following;

find /boot/grub/grub.conf {finds /boot partitions}
find /grub/grub.conf {finds / partitions with a boot subdirectory - ie no
/boot partition}
root (hd0,1) {we'll use /dev/hda2 - think of this as chroot and subsequent
commands make more sense}
config /boot/grub/grub.conf {if we didn't have a /boot partition}
OR
config /grub/grub.conf {if we are using a /boot partition}
{ I think it runs the config, so you have to get back to command mode
again } setup (hd0) {this magic writes GRUB into the boot sector & tells
it where to find it's config next time it boots}
quit {system reboots? if not just hit reset button}


On Fri, December 23, 2005 10:26 am, Lyle Chapman said:
> Can anyone help on some strange changes to fstab and a mystery boot folder.
>
> I am running FC3 with all the latest updates and have been for about a
year now with no problems at all until I noticed a new folder
> called boot1 and it is empty (the original boot folder is still there
and contains what it should). Also, root now has a /1 as the disk label
in fstab and boot has boot11, what in the world is going on.
>
> I checked the fstab settings below and they seem a bit odd, so I changed
them back to what they should be and what happens - cannot find / no
booting. Does anyone have any suggestions? And yes it does boot up fine
if I leave the settings. Thanks.
>
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1                /                       ext3
> defaults        1 1
> LABEL=/boot11           /boot1                  ext3
> defaults        1 2
> none                    /dev/pts                devpts
> gid=5,mode=620  0 0
> none                    /dev/shm                tmpfs
> defaults        0 0
> LABEL=/disk1            /disk1                  ext3
> defaults        1 2
> none                    /proc                   proc
> defaults        0 0
> none                    /sys                    sysfs
> defaults        0 0
> LABEL=SWAP-sda3         swap                    swap
> defaults        0 0
> /dev/hdd                /media/cdrecorder       auto
> pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0
>   0
>
>
> Lyle Chapman
> Prepress Supervisor
> Torch Publishing Company Pty Ltd
> 47 Allingham Street, Condell Park, NSW, 2200
> Ph: 612 9795 0000
> Fax: 612 9795 0096
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
>


-- 
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.




-- 
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to