Forum Home
Press F1
 
Thread ID: 116255 2011-02-23 20:08:00 Move linux partition kjaada (253) Press F1
Post ID Timestamp Content User
1181027 2011-02-23 20:08:00 Have a box with W7 on ar partition and Linux with the MBR on another partition.
Will it be ok to shrink the linux partition from the end where the MBR is and so increase the W7 partition.Will grub still work or will I need to redo GRUBThis is my partners box so my life is at stake here:
kjaada (253)
1181028 2011-02-23 23:07:00 Thanks for all your help:
I am Now DEAD.
kjaada (253)
1181029 2011-02-23 23:43:00 Have a box with W7 on a partition and Linux with the MBR on another partition.Can you post your partition layout? Your post doesn't really describe it very well. The MBR does not live on any partition at all, it's on the first sector of the disk.


Will it be OK to shrink the linux partition...Yes, you can shrink it provided it's not full, but depending on how this is done you may need to reconfigure your bootloader afterwards, and possibly replace the boot sector.


...from the end where the MBR is...The MBR is at the *start* of the disk, not the end. Unless you have a *very* strange setup, it will be on the first sector of the disk.


Will GRUB still work, or will I need to redo GRUB?You'll probably have to at least tweak GRUB, unless you're not physically moving any of the critical files in /boot to a new disk location, and you're not changing the partition order. If you get this wrong, your system will become unbootable from this disk until you fix it.


This is my partner's box so my life is at stake here:Guess you'd better be careful then!


Thanks for all your help:
I am Now DEAD.Am I correct in assuming that this means you couldn't even wait three hours for a reply, and decided to throw caution to the winds?
Erayd (23)
1181030 2011-02-24 01:13:00 Even if you have managed to make the drive unbootable it should be easy to fix. Agent_24 (57)
1181031 2011-02-24 01:48:00 Even if you have managed to make the drive unbootable it should be easy to fix.That's true, thankfully :D. Erayd (23)
1181032 2011-02-24 01:55:00 Can you post your partition layout? Your post doesn't really describe it very well. The MBR does not live on any partition at all, it's on the first sector of the disk
Disk is large with 20GB NTFS partition taken up by W7 and all her games (full up)
And about 100Gb formatted Extn4 and 5GB used for Puppy linux

Yes, you can shrink it provided it's not full, but depending on how this is done you may need to reconfigure your bootloader afterwards, and possibly replace the boot sector.


The MBR is at the *start* of the disk, not the end. Unless you have a *very* strange setup, it will be on the first sector of the disk.
Grub is installed to MBR SDA2

You'll probably have to at least tweak GRUB, unless you're not physically moving any of the critical files in /boot to a new disk location, and you're not changing the partition order. If you get this wrong, your system will become unbootable from this disk until you fix it.
I am pretty familiar with installing linux etc but am wary of interfering with Windows.Especially
W7

Guess you'd better be careful then!

Am I correct in assuming that this means you couldn't even wait three hours for a reply, and decided to throw caution to the winds?
Do you not have a female partner who has to download a new game every day no matter what????

What I want to do is:
Remove Puppy linux,
Reformat Part2 to NTFS and then grow Part1 to take up the whole disk.
Or grow the NTFS part and still have Grub on a smaller part2 ext4 MBR.
(that way she will not think I have fiddled)
I have Gparted and have used it a fair bit.
Also would like to leave Grub as the boot loader.More info

OR it may be best to delete the sda2 part and formatt to NTFS and restore the W7 bootloader
How is the W7 bootloader restored ?We have the W7 disk
kjaada (253)
1181033 2011-02-24 02:56:00 fdisk -l and you might get a better response...

From what I understand (which isn't much) you want to get rid of Puppy?

Go to Win7's partition manager, right click on the partition(s) you want to delete and click on Delete Volume...
Then when that is done right click on your Windows volume and click Extend Volume.

Pop in the Win7 cd and do a repair.


Do you not have a female partner who has to download a new game every day no matter what????

:illogical
Cato (6936)
1181034 2011-02-24 10:11:00 Do you not have a female partner who has to download a new game every day no matter what????

:illogical

I was thinking much the same myself... but If that's the case why doesn't she buy a bigger hard drive?
Agent_24 (57)
1181035 2011-02-27 19:19:00 Thanks for the replies.
All is now go except for the fact that I ended up with a very old version of Grub boot loader;
Very bold yellow boot menu but all is working and she is happy.
The disk is 120 GB and she can now expect a month or 2 before it is full LOL.
kjaada (253)
1