| Author |
Message |
lemmy999
Joined: 12 Jan 2008 Posts: 90
|
Posted: Sat 12 Feb 2011, 05:45 Post subject:
grub4dos editing [Solved] |
|
I am triple booting Windows 7/Ubuntu and Puppeee. Previously I was using Grub2 with no problems.On my last frugal install of Puppeee I mistakenly installed grub4dos on the MBR of the Windows partition. Now I can't boot into Windows. The relevant entry from my menu.lst is | Code: | # menu.lst produced by grub4dosconfig-v
color white/blue black/cyan white/black cyan/black
timeout 10
default 0
# Frugal installed Puppy
title Eee 511 (sda8/puppy511)
find --set-root --ignore-floppies /puppy511/initrd.gz
kernel /puppy511/vmlinuz pmedia=atahd psubdir=puppy511 pfix=fsck
initrd /puppy511/initrd.gz
title Eee 511 (sda8/puppy511) RAM mode\nBoot up Puppy withot pupsave
find --set-root --ignore-floppies /puppy511/initrd.gz
kernel /puppy511/vmlinuz pmedia=atahd psubdir=puppy511 pfix=ram,fsck
initrd /puppy511/initrd.gz
title Eee 511 (sdb1)
uuid 3651-DF44
kernel /vmlinuz pmedia=usbflash pfix=fsck
initrd /initrd.gz
# Full installed Linux
title Ubuntu 10.10 (sda5)
uuid 3dc7e6d9-aa04-47a2-a8d0-21e9a2536fa9
kernel /vmlinuz root=/dev/sda5 ro
initrd /initrd.img
# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
# Boot from Partition Boot Record
title Windows Vista/2008/7 (sda1:PBR)
uuid 065400B35400A78F
chainloader +1
title Windows NT/2000/2003/Xp (sda3:PBR)
uuid CCED-990E
chainloader +1
title Ubuntu 10.10 (sda5:PBR)
uuid 3dc7e6d9-aa04-47a2-a8d0-21e9a2536fa9
chainloader +1
title Eee 511 (sdb1:PBR)
uuid 3651-DF44
chainloader +1
# additionals
title Find Grub2\nBoot up grub2 if installed
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img
title Grub4Dos commandline\n(for experts only)
commandline
title Reboot computer
reboot
title Halt computer
halt
|
I have checked the UUID for the Windows partition and its correct. When I try and modify menu.lst it says that it is read-only and i can't modify it. How do i go about either
1. modifying the existing menu.lst or
2. removing grub4dos and returning to grub2
Last edited by lemmy999 on Sat 12 Feb 2011, 11:59; edited 1 time in total
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9385 Location: SwedenEurope
|
Posted: Sat 12 Feb 2011, 08:51 Post subject:
|
|
Surprise. Puppy should be able to change the permission on menu.lst to edit it.
Have you right clicked and gone down to permissions or properties? What does it say there?
Another way would be to know what partition that windows are on
# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
When you boot up you should be able to hit something that pause the booting and then by reading the text to see what grub4dos allow you to edit the windows booting.
Here is how it looks on my grub4dos. I have three partitions and windows seems to have a recovery partition on second and acer is on first for teh OEM set up and booting is on third. so I have (hd0,2) while most computers have (hd0,0)
So I am on sda3 instead of sda1
Windows
title Windows Vista/2008/7\nBoot up Windows Vista/2008/7 if installed
rootnoverify (hd0,1)
chainloader /bootmgr
See, windows have its boot manager on sda2 instead of sda3 or sda1 on my, So on yours it maybe shoudl be
Windows
title Windows Vista/2008/7\nBoot up Windows Vista/2008/7 if installed
rootnoverify (hd0,0)
chainloader /bootmgr
You should be able to use
e
for edit to edit the boot entry for windows changing it again and again until you get it to boot. This is during the first ten seconds of boot.
So try to hit the downwards arrow or hit e and then do Esc to get up to boot again andthen travel down to windows and hit e to edit it
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
lemmy999
Joined: 12 Jan 2008 Posts: 90
|
Posted: Sat 12 Feb 2011, 09:31 Post subject:
|
|
@nooby
The main problem is that I cannot edit menu.lst either when I have booted into Puppeee nor when grub4dos is loading. I can edit menu.lst but any changes aren't persistent. Esc-ing out and booting windows just sends me back to the grub4dos menu
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9385 Location: SwedenEurope
|
Posted: Sat 12 Feb 2011, 10:45 Post subject:
|
|
Somebody that knows more than what I do should answer. I am too lazy just now to help you search for answers.
Usually they recommend taht one start a CD and use that one to repair things.
Could it be locked from Windows in the BIOS that you need to hit F2 or Esc or Delete during POST when the machine starts up so you get out of booting and into BIOS set up and look there if it locked in some way. Just wild guessing.
Waht I find most likely is that one should be able to give it the right entries in grub4dos so you only need to find that info on how to.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
rokytnji

Joined: 20 Jan 2009 Posts: 742 Location: Pecos/ Texas
|
Posted: Sat 12 Feb 2011, 10:59 Post subject:
|
|
While I don't do Windows. I can edit grub4dos while running Puppy. I just tick all the boxes so as to not change anything then in the next window that opens. Proceed to edit the menu.
Edit: I should mention I fire up grub4dos from Puppeee Menu. It is installed as a package.
Pretty straight forward for me. All my Linux installs sit on their own partitions and none inside of Windows as nooby does though.
So I wont be able to help with the Windows thing. I usually install grub to /. Then use the menu.lst to add entry into grub4dos. Been working fine for me with this system.
Good Luck with it.
|
|
Back to top
|
|
 |
Jim1911
Joined: 19 May 2008 Posts: 2353 Location: Texas, USA
|
Posted: Sat 12 Feb 2011, 11:07 Post subject:
|
|
See this thread.
|
|
Back to top
|
|
 |
lemmy999
Joined: 12 Jan 2008 Posts: 90
|
Posted: Sat 12 Feb 2011, 11:59 Post subject:
|
|
Dunno what happened but i have been able to edit grub4dos and everything seeks AOK
|
|
Back to top
|
|
 |
|