All in all I figured it out.
jschiwal, thats I good idea. I didn't think of reusing space to avoid formatting. Will put that to good use on some failing drives I've come accross.
Quote:
Originally Posted by RobertP
Take care of the overheating first. You are on borrowed time. It could be dust build-up.
You could play Towers of Hanoi to move stuff around on a running system, but it is tricky because /etc/fstab would be needing editing and you need to reboot after repartitioning
|
I did scrap it down and had the fins dusted out with compressed air a couple of months ago.
And yes I moved the partitions and forgot to update /etc/fstab
tamoneya, the live-cd yes, but I was trying to avoid cause most live cds have acpi management but no processor throthling. <I did have to use it at some point to fix /etc/fstab> lol
Heres what I did
1-used cfdisk to delete the ntfs partition
2-created back a 10gig root /
unfortunately <and I don't know why> the recreated partition came up 32bytes short
Code:
/dev/hda1 * 1 1217 9767488 83 Linux
/dev/hda2 1946 3161 9767520 83 Linux
/dev/hda3 3162 3246 682762+ 82 Linux swap
/dev/hda4 3247 7295 32523592+ c W95 FAT32 (LBA)
causing this command to fail <cause its smaller>
Code:
dd bs=1024 count=9767520 if=/dev/hda2 of=dev/hda1
3-I then recreated the new.to.be.root partition 10 megs larger and came up with this when formated
Code:
/dev/hda1 * 1 1217 9775521 83 Linux
/dev/hda2 1946 3161 9767520 83 Linux
/dev/hda3 3162 3246 682762+ 82 Linux swap
/dev/hda4 3247 7295 32523592+ c W95 FAT32 (LBA)
which you can see is larger than the original so the dd command above worked.
4-When the dd copy finished I mounted and chrooted into /dev/hda1 to reinstall and reconfigure grub <and yes I shoulda remembered to fix the /etc/fstab too>
5-Rebooted and it mounted /dev/hda2 <oops> fixed that to /dev/hda1
5-Reboot and here I am. YAY!
Thank you all in your advice.
I'm gonna reclaim my unused space and fix my other partitions!