On 8/3/07, Martin Nopola <[EMAIL PROTECTED]> wrote:
>
> I have read the above but can't get parted to recognize hda2 .or
> hda3. I installed OpenSuSE 10.2 in a new box with an 80 G hard
> drive. The default values use the whole disk. I want to make
> room for more distros.
>
> I booted with a Ubuntu disk and added hda2 and hda3 in /etc/fstab
> as follows:
>
> unionfs / unionfs rw 0 0
> tmpfs /tmp tmpfs nosuid,nodev 0 0
> /dev/hda1 swap  swap defaults 0 0
> /dev/hda2 /     ext3 defaults 0 0
> /dev/hda3 /home ext3 defaults 0 0
>
> [EMAIL PROTECTED]:~$ sudo tune2fs -O^has_journal /dev/hda2
> tune2fs 1.38 (30-Jun-2005)
> [EMAIL PROTECTED]:~$ sudo parted  /dev/hda2 resize 21476 8000
> Error: Partition doesn't exist.
> Information: Don't forget to update /etc/fstab, if necessary.
> [EMAIL PROTECTED]:~$
>
> What am I missing?
>

You are missing the "create partitions" part :)

Just adding entries in fstab does not create partitions. You need
first to resize the partition on which suse resides. If you use ubutu,
I think the the right tool is gparted (I may be wrong). After you
resize this partition, you can create new ones on the freed space.

But before you resize the partition, make sure u resize the
filesystem, otherwise you will corrupt it.

Actually, I still do not know exactly your situation. Is it:
1. Install suse with default settings (i.e. use the whole disk)
2. run ubuntu live cd

or

2. install ubuntu, letting it to resize the suse partition and make
space for itself?

Cheers

-- 
Svetoslav Milenov (Sunny)

Even the most advanced equipment in the hands of the ignorant is just
a pile of scrap.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to