Moving the Linux partition
Tony Arnold
tony.arnold at manchester.ac.uk
Mon Mar 5 08:20:49 UTC 2007
Alex,
Alex Janssen wrote:
> 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.
Maybe a daft question, but have you looked to see how much swap space is
being used on your system? You may find you don't need to increase the
swap file size at all. In general, the more memory you have the less
swap space is needed!
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users
mailing list