Moving the Linux partition

Alex Janssen alex at ourwoods.org
Mon Mar 5 03:51:48 UTC 2007


I running Linux di1100u 2.6.17-11-386 #2 Thu Feb 1 19:50:13 UTC 2007 
i686 GNU/Linux.

My partition layout is:
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        1926    15470563+   7  HPFS/NTFS
/dev/hdc2            1927        6005    32764567+   c  W95 FAT32 (LBA)
/dev/hdc3            6006        8045    16386300    c  W95 FAT32 (LBA)
/dev/hdc4            8046        9729    13526730    5  Extended
/dev/hdc5   *        8046        9656    12940326   83  Linux
/dev/hdc6            9657        9729      586341   82  Linux swap / Solaris

What do you think the possibility is of changing hdc3 to an ext3 
partition,  copying via dd hdc5 to it, and making grub boot linux from 
there?  I'm not sure at this point, how to make grub do this. I'm 
guessing boot from the Ubuntu CD and do the normal grub restore thing 
with root set to (hd0,2) for grub?

I want to do this to gain space for my swap partition because I added 
more memory.  Should I consider booting from the CD and resizing hdc5 
and hdc6 with the install partitioner?

Thanks,
Alex

-- 
Ourwoods.org
Charlottesville, Virginia





More information about the ubuntu-users mailing list