XP and Ubuntu 8.04 dual boot

Binita M Shah binitamshah at gmail.com
Tue Sep 29 18:04:05 UTC 2009


On Wed, 2009-09-30 at 08:18 +1500, Jamal Khan wrote:
> If you got xp there then edit menu.lst file.
> 
> sudo gedit /boot/grub/menu.lst
> you can change the boot option by editing it. Thanks.
> 
> Jamal Khan
> jamal919 at gmail.com
> 
> On 9/30/09, Tim Tebbit <ttebbit at gmail.com> wrote:
> > pankaj borah wrote:
> >> Dear Ubuntu users,
> >> I had Ubuntu 6.06 LTS installed in my Dell inspiron 1525 Laptop along
> >> with windows XP as dual boot. Today I have upgraded my Ubuntu to Ubuntu
> >> 8.04 LTS. Since then whenever I start my laptop, i never see the XP boot
> >> option and it shows 4 Ubumtu boot otion. I wonder if my XP is still
> >> there ? Is there any way to recover it to XP as first boot option?
> >>
> >> It is very uergent.
> >
> >
> > That would depend if XP is there or not. The output of 'sudo fdisk -l' would
> > help in determining if the partition(s) exist.If you upgraded through one of
> > the package managers, it is highly likely grub has no clue about where xp
> > lives. However, if you upgraded from a CD/DVD and didn't pay close attention
> > to the partitioning portion, there is a chance there is no more XP.
> >
> > LOTS of documentation on how to square grub away. Start at the link below.
> >
> > https://help.ubuntu.com/community/GrubHowto
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> 

#1  

Depends,Do one thing Ubuntu partition is accessible to you it has
Gparted in it by def.(System-->Admin--> Partition editor).Open it by
passing pwd and see to it if it shows ntfs partition,if it shows then do
following or else if you had choosen to use whole HDD then you need use
rescue partition by live Ubuntu Cd/knoppix live cd


#2 Again did you install bootloader on MBR or first boot partition,if
its MBR ,Ubuntu by def. will take care of recognizing NTLDR /Win xp
else,in case of later you need to manually edit /boot/grub/menu.lst

#3

Open CLI and type sudo vi /boot/grub/menu.lst

Add following :-

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


=====

Public Key   : 12695C6D
Fingerprint : 0131 E273 B314 E8C8 2599  E32D 99AA 9362 1269 5C6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090929/0958a62e/attachment.sig>


More information about the ubuntu-users mailing list