← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #77500]: error 5 after installing Ubuntu 9.04 next to XP

 

Question #77500 on grub in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/grub/+question/77500

Tom proposed the following answer:
Yes the menu.lst does look right :(  It was really just the Windows
stanza at the end that i was looking for but the rest of what you gave
might be useful later maybe.

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1

The line "rootnoverify (hd0,0)" was pointing at the right place :(  The
lines starting with # are the same in almost every install and are
'only' explanatory notes but they can be handy to have on your own
machine.  I find that by scrolling past things like that i gradually
learn stuff because every so often something catches my eye. A good line
to add in is

howmany=2

as this should keep the menu a bit shorter after a few updates.  It
should be before the line "## ## End Default Options ##" (I'm not sure
if positioning does make any difference but it might).  Anyway to edit
menu.lst you have to give the action "SuperUser" priveleges so on a
normal command-line try

sudo gedit /boot/grub/menu.lst

it will ask for your normal user password, not your SuperUser or Root
one.  It will open gedit as normal but this time you can save changes.
It's best not to delete the # lines from here!  Thanks for saving the
space in the thread tho :)

Can you copy the last couple of lines of gparted into here?  It might be
good to see how much space sda5 & sda6 have.  I'm not sure what to do
about sda1.  Leaving it alone might mean the data is still there and
maybe one day you'll be able to recover some of it.  I think i have an
old drive somewhere with a partition like that and a couple more drives
that Windows managed to lose the partition tables for too.  One day i
hope to recover some of the stuff on those.

Apols, good luck and regards from
Tom

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.