LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2001, 01:47 PM   #1
ZacWolf
LQ Newbie
 
Registered: Dec 2001
Location: Durham, NC
Posts: 4

Rep: Reputation: 0
Question 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?


Last edited by ZacWolf; 12-03-2001 at 03:04 PM.
 
Old 12-03-2001, 02:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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
 
Old 12-03-2001, 02:17 PM   #3
ZacWolf
LQ Newbie
 
Registered: Dec 2001
Location: Durham, NC
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-03-2001, 02:36 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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.
 
Old 12-03-2001, 03:19 PM   #5
ZacWolf
LQ Newbie
 
Registered: Dec 2001
Location: Durham, NC
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-03-2001, 04:04 PM   #6
ZacWolf
LQ Newbie
 
Registered: Dec 2001
Location: Durham, NC
Posts: 4

Original Poster
Rep: Reputation: 0
Well I just ran a RedHat 7.1 UPGRADE and it fixed everything ok. <shrug>

Thanks again for all your help.

-Zac
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 05:01 AM
Deleted linux partition (using partition magic) Geminias General 7 10-09-2005 04:14 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 03:46 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration