Altering MBR to point to new Partition.
History:
I trashed the MBR.
The Partitions and the OS are intact.
Fix:
I re-installed Ubuntu to a new partition, and it wrote a new MBR pointing to itself.
Problem:
The new Ubuntu does not have my old configurations and additional applications.
The old Ubuntu does have my old configurations and additional applications.
The Old Partitions and the Old OS are intact, and the new Grub points into them, and they run fine.
The new Grub points into the new partition and the new /boot/grub/
. . . which then allows me to select (1) Windows XP, (2) Linux Ubuntu on sda3, (3) Linux Ubuntu on sda7.
To do:
I want to point the new MBR into the OLD partition, which is Linux Ubuntu on sda7.
Then I can delete new OS in sda3 and reuse that disk space for storage.
Overall:
As a Linux skill, I want to be able to write an MBR which points into specific partitions as its starting point.
glene77is, Memphis, TN
*******
Edited: Feb 06, 2011 by glene77is
Re: Altering MBR to point to new Partition.
Thanks to Ubfan and Delance for their prompt attention.
Ubfan's initial analysis was right on target. My wording was clumsy.
Delance's advice to use the past.ubuntu. site to transfer files is good method.
The actual solution came via Nathan726 on the Ubuntu forums.
SOLUTION:
On Feb 06, 2011, the problem was analyzed and a script written, in the forums.
I executed this script and it was SUCCESSFUL.
The mount and bind and grub-install , etc,
caused a re-link of MBR-to-partition,
changing the bootup linked partitiion from #3 to #7.
Thanks to NATHAN726, Ubuntu forums.
The solution is pasted at:
http://
glene77is, Glen Ellis, Memphis, TN
*******
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- delance
- Solved:
- Last query:
- Last reply: