On Sat, 2003-06-14 at 15:58, achillemiele wrote: > On Saturday 14 June 2003 22:44, rm wrote: > > > This could be a problem. The complete line when I do cat /etc/fstab > > > > dev/hda5 swap swap defaults 0 0 > > > > does this mean I'm still fscking with the wrong device? > > > > The complete output looks like this: > > > > LABEL=/ / ex2 defaults 1 1 > > LABEL=/boot /boot ext2 defaults 1 2 > > dev/fd0 /mnt/floppy auto noauto,owner 1 2 > > none /proc proc defaults 0 0 > > none /dev/pts devpts gid=5,mode=620 0 0 > > dev/hda5 /swap swap defaults 0 0 > > dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 > > > > Sorry for sounding so helpless on this, I've usually been able to fudge > > my way around and correct any problems on this system - but this has > > been new ground. > > > > Thanks, > > > > regis > > Ok, near to the solution. You have the right answer to your e2fsck since it's > not ant ext2 fs but a swap partition. Now I think your troubles come from a > wrong label in your boot partition or root one (/boot or /). As you can see > from your fstab you give a LABEL description for your partitions, so if your > partition label is not the correct one you might have that problem. > > Try making this: from the shell run 'fdisk /dev/hda' and then give the 'p' > command. You will have the partition table of hda. Sign all your partitions > and then use 'q' command (quit). Now try using 'e2label /dev/hdax' with all > your ext2 partitions (where x is the number of partition). If everything is > right you will have to find labels / and /boot. If not so, you will have to > label again your partitions (always with e2label) or (more simple) substitute > your 'LABEL=/' in fstab with the right partition (like '/dev/hda1' or > something similar). It would have to be simple to understand which partition > is the root and the boot one (the boot only keeps kernels, so it would have > to be very little). > > I hope this is the right solution. Let me know. > > Achille
Thanks for the suggestions, it sounds like the solution you're describing should work, but... The fdisk command indicates that the boot partition is /dev/hda1 and the root (/) partition is /dev/hda2, and swap is /dev/hda5. When I run e2label on hda1 it correctly reports that it is /boot. But when I run e2label on /dev/hda2 it gives the following error: "e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda2 Couldn't find valid filesystem superblock" I got the same message when trying to use e2label to change the label. Also the same error when running e2label on hda5. Thanks again for your help, any other suggestions? regis -- rm <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list