Partition problem, solved
Karl Larsen
k5di at zianet.com
Sat Oct 25 17:09:48 UTC 2008
Nigel Henry wrote:
> On Saturday 25 October 2008 18:27, Karl Larsen wrote:
>
>> Rashkae wrote:
>>
>>> Mario Vukelic wrote:
>>>
>>>> On Sat, 2008-10-25 at 11:18 -0400, Rashkae wrote:
>>>>
>>>>> that's exactly what 'growing' a parition does. you erase the
>>>>> old partition, and write a new one with the new start/end values.
>>>>>
>>>> That's not what I would call "grow" as it effectively destroys the old
>>>> partition and its data and creates a new one.
>>>>
>>> No, no it doesn't.. fdisk doesn't touch the data sectors of the disk,,
>>> it neither writes no erases that there. If you delete all your
>>> partitions and recreate them all the exact same way, there will be no
>>> changes to your disk.. in this case, you just delete a partition but
>>> recreate it with a larger end value.
>>>
>>> Since Karl doesn't even want to change existing filesystems, he wouldn't
>>> even have to touch the file system resizing tools afterwards.
>>>
>>> However, I must stress, I'm only nitckpicking details as I am
>>> psychotically compelled to do. My official suggestion, in this case, is
>>> to boot from a rescue cd, or anything else that will give you a decent
>>> GUI, and use gparted / qtparted to do the deed.
>>>
>> Well here is what happened:
>>
>> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
>> 255 heads, 63 sectors/track, 19457 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Disk identifier: 0x00056ea5
>>
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 * 1 974 7823623+ 83 Linux
>> /dev/sdb2 975 1948 7823655 83 Linux
>> /dev/sdb3 1949 2192 1959930 82 Linux swap /
>> Solaris /dev/sdb4 2193 19457 138681112+ 5 Extended
>> /dev/sdb5 2193 4625 19543041 83 Linux
>> /dev/sdb6 4626 5598 7815591 83 Linux
>> karl at karl-hardy:~$
>>
>> This is exactly what I wanted and I did it using gparted on the Hardy
>> LiveCD. This gparted is the one you see when your loading Hardy
>> manually. In anycase I told it to make /dev/sdb4 as large as possible
>> and it DID!
>> Karl
>>
>
> Well that's one problem resolved, but you didn't say how things are in New
> Mexico today. Early evening now in Northern France. I suppose your just into
> the afternoon there.
>
> Nigel.
>
>
Sorry Nigel, Las Cruces, NM which is 50 miles North of El Paso, TX
is moving into winter. It was 3 degrees C this morning but will heat up
to 16C by afternoon. The trees are turning slowly yellow and then brown
as it gets cooler. Every fall we wish Global Warming really worked :-)
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list