Partition Magic screwed up my LILO
:smash:
I just used Partition Magic to expand two partition and when I restart LINUX I'm getting errors. It looks as though my fstabs may have gotten hosed? What I want to do is just run diskdruid but I can't seem to find a way to JUST run this application without having to go through the whole setup process. Does anyone know how I would execute JUST DiskDruid? :newbie: |
if you're getting errors then you'll want to check the fs properly, it should say that there are erros in /dev/hdXX and let you log in as maintenance. then run
fsck /dev/hdXX and logout. there are various ways of expanding linux partitions inside linux, which is vastly preferable than just using some third party software, expensive or not. use resize2fs and such |
Thanks for the help Chris,
I wish I'd done more research beforehand. I've always used Partion Magic for Windows with great success. :( When I run: fsck /dev/sda5 I get: Couldn't find matching filesystem: LABEL=/ When I list my fstab file (/etc/fstab) I see: LABEL=/ / ext2 defaults 1 1 LABEL=/boot /boot ext2 defaults 1 2 LABEL=/home /home ext2 defaults 1 2 /dev/fd0 /mnt/floppy auto noauto, owner 0 0 Shouldn't the "LABEL=/" be changed to the actually device ID? When I try to edit /etc/fstabs I getting an error about being in READ ONLY mode. Thanks for ANY help! -Zac |
my rh71 server has:
LABEL=/ / ext2 defaults 1 1 LABEL=/boot /boot ext2 defaults 1 2 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 whilst my md81 workstation has /dev/hda5 / ext2 defaults 1 1 /dev/hda2 /boot ext2 defaults 1 2 your entry is ok, but i've no idea why that syntax does work... i'd not realised how bizarre it looks... it's ok tho. oh actually.. thinking a tiny bit more, i'd assumed the data is inherited from lilo: image=/boot/vmlinuz-2.4.2-2 label=linux read-only root=/dev/hda5 easiest way to get around the kinda catch21 thing you've got is usually to use the resuce mode on your distro cd's, which should mount the drives rw under /mnt/sysimage or something. |
Ok, getting closer.
The system now boots up, but I'm getting errors along the way. The exact SAME error actually: error while loading shared libraries: /lib/i686/libm.so.6 Invalid ELF header Any ideas on this one? -Zac |
Well I just ran a RedHat 7.1 UPGRADE and it fixed everything ok. <shrug>
Thanks again for all your help. -Zac |
All times are GMT -5. The time now is 12:07 AM. |