[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing bootdisk

From: Andrew Clausen
Subject: Re: Editing bootdisk
Date: Wed, 24 Apr 2002 17:39:34 +1000
User-agent: Mutt/1.3.28i

On Wed, Apr 24, 2002 at 08:19:41AM +0200, Niels Andersen wrote:
> Yep, and I'm getting pretty far by now. :)
> but I have a problem with that last step...
> I do something like this:
> parted -s /dev/hda print | grep -e '^Disk geometry for'
> and then I use sed to find the end of the range.
> Then I try to resize using that value, something like this:
> parted -s /dev/hda resize 1 0 %MAX
> But then it just complains that I'm trying to make the partition larger than 
> the disk. And then I'm stuck...

Yeah, this does suck... in 1.6.x-preX, you can use "-0" (but no easy
bootdisk, etc. available yet)

You could probably discard the decimal places, and subtract one.
You don't need to fill the disk entirely!  (BTW: in practice, parted
will probably use the maximum it could anyway, due to alignment crap
with cylinders, etc.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]