Resize XP partition for more Ubuntu space
Vram
lamsokvr at xprt.net
Wed Sep 21 20:10:35 UTC 2005
On Wed, 2005-09-21 at 14:43 -0500, Charles Malespin wrote:
> On Wed, 2005-09-21 at 12:33 -0700, Vram wrote:
> > On Wed, 2005-09-21 at 13:52 -0500, Charles Malespin wrote:
> > > > I think you are in luck....
> > > >
> > > >
> > > > Looking at your fstab...
> > > >
> > > > I don't see /dev/sda3
> > > >
> > > >
> > > > So delete your current /dev/sda3 and make the large
> > > > partition /dev/sda3..
> > > >
> > > >
> > > > Old table
> > > > #####################3
> > > >
> > > >
> > > > /dev/sda1 Fat16 63 Mb
> > > > > > /dev/sda2 Ntfs 20.5 Gb
> > > > > > Unallocated 65.5 Gb
> > > > > > /dev/sda3 ext3 102 Mb
> > > > > > /dev/sda4 extended 67 Gb
> > > > > > /dev/sda5 ext 3 64 Gb
> > > > > > /dev/sda6 swap 2.5 Gb
> > > >
> > > >
> > > > So the new /dev/sda3 would be 65.5 Gig
> > > >
> > > >
> > > > All you have is root and swap
> > > >
> > > >
> > > >
> > > > Am I missing something??
> > > >
> > > > Can you post
> > > >
> > > > df -h
> > >
> > >
> > > df -h
> > > Filesystem Size Used Avail Use% Mounted on
> > > /dev/sda5 63G 11G 49G 18% /
> > > tmpfs 506M 0 506M 0% /dev/shm
> > > /dev/sda2 21G 11G 9.9G 51% /media/windows
> > > /dev 63G 11G 49G 18% /.dev
> > > none 5.0M 2.8M 2.3M 55% /dev
> > >
> > >
> > > Where does the /dev/sda3 come from then? I know(think...)
> > > that /dev/sda4 is my extended partition. Sorry, this is all new to me
> > > so I am trying to learn as fast as I can. Thanks!
> > >
> > >
> >
> > Sure enough.
> >
> > You are not using /dev/sda3...
> >
> > You can delete /dev/sda3.
> >
> > And recreate /dev/sda3
> >
> > I would do this by had using fdisk /dev/sda
> >
> > Then format /dev/sda3 using
> >
> > mkfs.ext3 /dev/sda3
> >
> >
> > Then create a mount in the /etc/fstab and you are good to go.
>
>
> Just to make sure... I opened qtparted and when it lists all the
> partitions it labeled my /dev/sda3 partition as /boot, but Gparted didnt
> label it at all... Error with qtparted? It was 101.98 Mb big. I can
> delete this? I should delete this via qtparted(or Gparted), then do the
> fdisk /dev/sda command. Then do the mkfs.ext3 /dev/sda3 command? Sorry
> I got lost there.(I feel really dumb asking all these questions...)
> Thanks again,
> Charles
>
>
This is my information...
root at Aether:/etc # dog fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / reiserfs defaults 0 1
/dev/hda1 /boot ext2 defaults 0 2
/dev/hda9 /home reiserfs defaults 0 2
/dev/hda7 /tmp ext3 defaults 0 2
/dev/hda5 /usr reiserfs defaults 0 2
/dev/hda8 /usr/local ext3 defaults 0 2
/dev/hda6 /var reiserfs defaults 0 2
/dev/hda10 /work reiserfs defaults 0 2
/dev/hda2 none swap sw 0 0
/dev/hdb2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hdb3 /mnt/old_home reiserfs defaults 0 0
/dev/sda /mnt/fob auto defaults 0 0
/dev/hdb5 /image reiserfs defaults 0 0
root at Aether:/etc # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 7.5G 242M 7.3G 4% /
tmpfs 380M 0 380M 0% /dev/shm
/dev/hda1 96M 20M 72M 22% /boot
/dev/hda9 9.4G 610M 8.8G 7% /home
/dev/hda7 4.6G 33M 4.4G 1% /tmp
/dev/hda5 4.7G 2.0G 2.7G 43% /usr
/dev/hda8 2.8G 92M 2.6G 4% /usr/local
/dev/hda6 4.7G 1.5G 3.3G 31% /var
/dev/hda10 9.4G 33M 9.3G 1% /work
/dev/hdb3 5.6G 572M 5.1G 10% /mnt/old_home
/dev/hdb5 9.4G 180M 9.2G 2% /image
/dev 7.5G 242M 7.3G 4% /.dev
none 5.0M 2.9M 2.2M 57% /dev
So ... It could very well be that /dev/sda3 is /boot
Do this go to /boot.
root at Aether:/boot # df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 97826 19793 72814 22% /boot
do a df .
It will tell you where you are..
If /dev/sda3 is boot.. I vote cute the mustard..
Reinstall
Vram
More information about the ubuntu-users
mailing list