Partitons:
hda1 Primary Boot Win2K
hda3 Primary Hidden Win2K (LBA)
hda4 Extended (LBA)
hda5 Logical Linux Swap
------ Logical Free Space
hda6 Logical Boot Ext3
hda7 Logical Home Ext3
hda8 Logical Root Ext3
I booted from a Knoppix 3.3 CD and tried qtparted to get that free space
over to hda8, but "move" and "resize" are grayed out on all the Linux
partitions except swap. That free space would add 4GB to the root
partition, and I need it there. hda6, hda7 & hda8 show 0 MB used space,
obviously incorrect. Swap shows correctly, as do the Win partitions.
fsck has been run on the ext3 partitions and no errors. For some reason,
qtparted is not reading the ext3 correctly. Any advice on expanding hda8 in
this situation greatly appreciated. Thanks.
--
|
|
0
|
|
|
|
Reply
|
edjlb (25)
|
11/14/2003 3:58:08 PM |
|
On Fri, 14 Nov 2003 10:58:08 -0500, edjlb <edjlb@yahoo.com> wrote:
> For some reason,
> qtparted is not reading the ext3 correctly. Any advice on expanding hda8 in
> this situation greatly appreciated.
.... let's see the output of "fdisk -l /dev/[whatever drive it is]
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Lockwood's Long Shot: The chances of getting eaten up by a lion
on Main Street aren't one in a million, but once would be enough.
|
|
0
|
|
|
|
Reply
|
mjtobler (577)
|
11/14/2003 5:28:25 PM
|
|
On Friday 14 November 2003 12:28 pm, mjt,
mjtobler@removethis_consultant.com, wrote:
> On Fri, 14 Nov 2003 10:58:08 -0500, edjlb <edjlb@yahoo.com> wrote:
>
>> For some reason,
>> qtparted is not reading the ext3 correctly. Any advice on expanding hda8
>> in this situation greatly appreciated.
>
> ... let's see the output of "fdisk -l /dev/[whatever drive it is]
> .
Here it is:
/dev/hda
Disk /dev/hda: 30.7 GB, 30738677760 bytes
255 heads, 63 sectors/track, 3737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 386 3100513+ b Win95 FAT32
/dev/hda2 387 3737 26916907+ f Win95 Ext'd (LBA)
/dev/hda5 387 422 289138+ 82 Linux swap
/dev/hda6 423 434 96358+ 83 Linux
/dev/hda7 435 1144 5703043+ 83 Linux
/dev/hda8 1145 3737 20828241 83 Linux
--
|
|
0
|
|
|
|
Reply
|
edjlb (25)
|
11/14/2003 5:34:47 PM
|
|
On Friday 14 November 2003 12:34 pm, edjlb, edjlb@yahoo.com, wrote:
> On Friday 14 November 2003 12:28 pm, mjt,
> mjtobler@removethis_consultant.com, wrote:
>
>> On Fri, 14 Nov 2003 10:58:08 -0500, edjlb <edjlb@yahoo.com> wrote:
>>
>>> For some reason,
>>> qtparted is not reading the ext3 correctly. Any advice on expanding hda8
>>> in this situation greatly appreciated.
>>
>> ... let's see the output of "fdisk -l /dev/[whatever drive it is]
>> .
> Here it is:
Sorry, ignore my last - wrong machine. Should have been:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
240 heads, 63 sectors/track, 2584 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 663 5012248+ b Win95 FAT32
/dev/hda3 2379 2584 1557360 1c Hidden Win95 FAT32 (LBA)
/dev/hda4 664 2378 12965400 f Win95 Ext'd (LBA)
/dev/hda5 664 741 589648+ 82 Linux swap
/dev/hda6 1307 1309 22648+ 83 Linux
/dev/hda7 1310 1786 3606088+ 83 Linux
/dev/hda8 1787 2378 4475488+ 83 Linux
Partition table entries are not in disk order
--
|
|
0
|
|
|
|
Reply
|
edjlb (25)
|
11/14/2003 5:59:24 PM
|
|
edjlb wrote:
> On Friday 14 November 2003 12:28 pm, mjt,
> mjtobler@removethis_consultant.com, wrote:
>
>
>>On Fri, 14 Nov 2003 10:58:08 -0500, edjlb <edjlb@yahoo.com> wrote:
>>
>>
>>>For some reason,
>>>qtparted is not reading the ext3 correctly. Any advice on expanding hda8
>>>in this situation greatly appreciated.
>>
>>... let's see the output of "fdisk -l /dev/[whatever drive it is]
>>.
>
> Here it is:
>
> /dev/hda
> Disk /dev/hda: 30.7 GB, 30738677760 bytes
> 255 heads, 63 sectors/track, 3737 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 386 3100513+ b Win95 FAT32
> /dev/hda2 387 3737 26916907+ f Win95 Ext'd (LBA)
> /dev/hda5 387 422 289138+ 82 Linux swap
> /dev/hda6 423 434 96358+ 83 Linux
> /dev/hda7 435 1144 5703043+ 83 Linux
> /dev/hda8 1145 3737 20828241 83 Linux
>
From what you show here there is no free space between hda5 &
hda6 as you mentioned in your first post.
hda5 starts at cylinder 387 & ends at 422
hda6 starts at cylinder 423 & ends at 434
--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
Uptime: 38 days, 23:41, 1 user, load average: 1.15, 1.14, 1.09
|
|
0
|
|
|
|
Reply
|
thunderbolt01 (242)
|
11/14/2003 6:01:10 PM
|
|
On Fri, 14 Nov 2003 12:59:24 -0500, edjlb <edjlb@yahoo.com> wrote:
[snipped]
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 663 5012248+ b Win95 FAT32
> /dev/hda3 2379 2584 1557360 1c Hidden Win95 FAT32 (LBA)
> /dev/hda4 664 2378 12965400 f Win95 Ext'd (LBA)
> /dev/hda5 664 741 589648+ 82 Linux swap
<<<<<<<<<<<<< available space >>>>>>>>>>>>>
> /dev/hda6 1307 1309 22648+ 83 Linux /boot
> /dev/hda7 1310 1786 3606088+ 83 Linux /home
> /dev/hda8 1787 2378 4475488+ 83 Linux /
.... couple of things you could do. just create partition
and filesystem and use LVM to consolidate.
or, i know it sounds like a hassle, but it's the way i've
had to do it (and on a machine with 3 HD's - talk about
a partition nightmare!) - you either need a second machine,
second HD, or enough free space somewhere to copy all of
/dev/hda[678], then:
1) delete /dev/hda[678]
2) create new /boot, /home, /
3) copy saved off data back to their respective areas
you cant 'expand' /dev/hda8 by 'merging' the unpartioned
space since they are not contiguous. and no, you CANT:
1) create a new /boot in the unpartioned space
and copy the current /boot data to the new one
2) create a new /home in the [new] unpartioned space
and copy the current /home data to the new one
3) create a new / in the [new] unpartioned space
and copy the current / data to the new one
4) expand /
why? because as you start to create new partitions, they
will start getting new /dev/hda* numbers AFTER the
greatest number that now exists. this will mess up any
configurations that refer to those partitions
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
There are really not many jobs that actually require a penis or a
vagina, and all other occupations should be open to everyone.
-- Gloria Steinem
|
|
0
|
|
|
|
Reply
|
mjtobler (577)
|
11/14/2003 7:44:31 PM
|
|
> /dev/hda
> Disk /dev/hda: 30.7 GB, 30738677760 bytes
> 255 heads, 63 sectors/track, 3737 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 386 3100513+ b Win95 FAT32
> /dev/hda2 387 3737 26916907+ f Win95 Ext'd (LBA)
> /dev/hda5 387 422 289138+ 82 Linux swap
> /dev/hda6 423 434 96358+ 83 Linux
> /dev/hda7 435 1144 5703043+ 83 Linux
> /dev/hda8 1145 3737 20828241 83 Linux
Why do you believe you have any free space?
There is none available. You can only shrink, not move anything
here. (And I'm not sure if shrinking is possible)
And as a size remark, make hda2 type 0x85, that matches
the contents better. (it is not required BTW)
Eric
|
|
0
|
|
|
|
Reply
|
scare.crow (147)
|
11/16/2003 8:38:14 AM
|
|
|
6 Replies
28 Views
(page loaded in 2.272 seconds)
|