Results 1 to 4 of 4
Hello
Since CloneZilla doesn't include the MBR when saving a partition into a file, I need to take care of this myself.
With a working XP in /sda1, I'd like ...
- 01-11-2010 #1Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
[SOLVED] Installing Grub from scratch to boot Windows?
Hello
Since CloneZilla doesn't include the MBR when saving a partition into a file, I need to take care of this myself.
With a working XP in /sda1, I'd like to...
1. Boot with a Linux live CD
2. replace the Windows MBR with Grub, ie. without any Linux already installed
3. save Grub's configuration files into /sda2 (which is ext2fs-formatted)
4. add XP to Grub
Has someone done this and could explain what the steps are?
Thank you.
- 01-11-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,078
I'm not sure how easily this task would be to achieve, but wouldn't the Windows bootloader be better suited to boot Windows if you are not going to be dual booting?
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 01-11-2010 #3Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
Yes, but I also need to test Linux sometimes, so I'd like to find an easy and OS-agnostic way to boot the PC after restoring a CloneZilla image.
I guess Grub is a better option than the Windows boot loader.
- 01-11-2010 #4Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
For those interested in doing the same thing:
1. Boot with a live CD
2. Mount /sda2 where the partition images are located
3. Copy the CD's /boot/grub/ into /sda2
4. Edit /sda2/boot/grub/menu.lst to include this section to boot Windows:
5. Run "grub", and type the following commands:Code:title Windows rootnoverify (hd0,0) makeactive chainloader +1
Reboot.Code:grub root (hd0,1) setup (hd0)



