Re: SOLUTION Re: resizing /

2002-11-06 Thread Shaul Karl
On Mon, Nov 04, 2002 at 10:52:58AM -0500, Arie Folger wrote:
 
 Finally, I wondered why I had a kernel panic, and after some searching found 
 that RH had once autonomously given a name to the original / partition; the 
 label was / (I know, this is confusing). So once I realized that and issued 
 e2label /dev/hda5 /, the thing was solved.
 


I am using '/' as the label of my root partition. I had no problems so
far. On the other hand, I don't use grub or actually using that label
instead of the full device path; just to name a few things that I can 
think of that makes me avoid the problem you mentioned.


 I guess I would have had less trouble using parted after having booted with 
 the rescue disc...
 


There was a thread on debian-user, lately, named something like 
`parted off CD'. In that thread someone said he successfully booted
into single user and resized his / partition using parted. That was
done with / mounted ro while using the parted binaries that was 
installed from the parted deb package.

-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




SOLUTION Re: resizing /

2002-11-05 Thread Arie Folger
I ended up finding some spare place to store an interim / partition, modified 
/etc/fstab to allow booting in that partition and mounting of the original / 
in /mnt/spare.

Thing to watch out for: since grub looks for its config file on the original 
/, one should really carry out the entire migration in one session. However, 
even with no services running, fdisk told me it couldn't reload the partition 
table, so I had to reboot with a rescue disk (the RH installation cd #1, just 
type linux rescue at the prompt), and only then remount the new / and copy to 
it the contents of the interim /.

Finally, I wondered why I had a kernel panic, and after some searching found 
that RH had once autonomously given a name to the original / partition; the 
label was / (I know, this is confusing). So once I realized that and issued 
e2label /dev/hda5 /, the thing was solved.

I guess I would have had less trouble using parted after having booted with 
the rescue disc...

Arie



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]