Recently I've been running very short on memory on my computer (hopefully I'll be getting a 250 gig external hdd for Christmas... *crosses fingers*). Because of this, I have had to further shrink my windows partition and add to my linux one. For some reason, I was not allowed to make the linux partition bigger (it's ReiserFS btw), but I do not recall the reason, and there's no going back at this point. In the process of doing this, I had to create an extended partition because I had over the "limit" of partitions and apparently the mbr or something couldn't handle it. To give you an idea of the clutter that is my hard disk, here's a sudo fdisk -l:
Code:
Ok, so to attempt to explain this:
hda1 = Windows Recovery
hda2 = Windows C:\
hda3 = original/main linux (this is root)
hda4 = Extended Partition
hda5 = New linux space
hda6 = Swap
The problem is not the clutter. It's the fact that Ubuntu is not mounting the swap at boot time. I even wrote a script that starts at run time and waits 30 seconds, then sudo swapon /dev/hda6 which works if I run it at any time except boot. So I have to either run this script or go into Gnome Partition editor every time I boot my computer, if I want swap. Any ideas? My google searches weren't turning up anything.
Code:
patrick@Chipmaster:~$ sudo fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 817 6176488+ c W95 FAT32 (LBA)
/dev/hda2 * 818 11869 83553120 7 HPFS/NTFS
/dev/hda3 16611 20673 30716280 83 Linux
/dev/hda4 11870 16610 35841960 5 Extended
/dev/hda5 11870 16407 34307248+ 83 Linux
/dev/hda6 16408 16610 1534648+ 82 Linux swap / Solaris
Partition table entries are not in disk order
Ok, so to attempt to explain this:
hda1 = Windows Recovery
hda2 = Windows C:\
hda3 = original/main linux (this is root)
hda4 = Extended Partition
hda5 = New linux space
hda6 = Swap
The problem is not the clutter. It's the fact that Ubuntu is not mounting the swap at boot time. I even wrote a script that starts at run time and waits 30 seconds, then sudo swapon /dev/hda6 which works if I run it at any time except boot. So I have to either run this script or go into Gnome Partition editor every time I boot my computer, if I want swap. Any ideas? My google searches weren't turning up anything.