PDA

View Full Version : [ubuntu] Unable to switch to xp



vampur
August 22nd, 2008, 11:03 AM
Hi freinds

I tried a lot to switch to the xp the older os of mine and also i could not access the drive in which the xp was installed ,,
is dere any way so dat i can reslove da xp n it's data ..

dat's my grub output

## ## End Default Options ##

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=65adad4e-99ef-4552-9140-478faad5eff7 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=65adad4e-99ef-4552-9140-478faad5eff7 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


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

forger
August 22nd, 2008, 11:17 AM
you could try fixing it with supergrubdisk (www.supergrubdisk.org)

vampur
August 22nd, 2008, 12:26 PM
????????????

sudo mount -o force -t ntfs /dev/sda1 /media/WindowsXP
Unexpected clusters per mft record (-1).
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?


any help
please

sandysandy
August 22nd, 2008, 12:28 PM
post output of sudo fdisk -lu

have u tried super grub disk!

http://www.supergrubdisk.org/

http://users.bigpond.net.au/hermanzone/supergrubdiskpage.html

vampur
August 22nd, 2008, 12:37 PM
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x2c112c10

Device Boot Start End Blocks Id System
/dev/sda1 * 63 30716279 15358108+ 7 HPFS/NTFS
/dev/sda2 30716280 156296384 62790052+ f W95 Ext'd (LBA)
/dev/sda5 30716343 92148839 30716248+ b W95 FAT32
/dev/sda6 92148903 112631714 10241406 b W95 FAT32
/dev/sda7 112631778 136054484 11711353+ b W95 FAT32
/dev/sda8 136054548 155332484 9638968+ 83 Linux
/dev/sda9 155332548 156296384 481918+ 82 Linux swap / Solari


any way i can reslove and i haven't tried supergsub

is dere any way i can get my data of xp which is winxp pro sp3

vampur
August 22nd, 2008, 12:40 PM
which version i download for sgrup?????

sandysandy
August 22nd, 2008, 12:52 PM
download super grub disk (SGD) from following link and burn as iso image

http://www.supergrubdisk.org/

see this link also.

http://users.bigpond.net.au/hermanzo...bdiskpage.html

pop SGD into Cd drive and reboot computer. it will boot into SGD, use the help option. it will guide u step by step.

see if u can boot into XP from SGD

regards

SkonesMickLoud
August 22nd, 2008, 12:55 PM
From within Ubuntu, start up a terminal and enter:


sudo gedit /boot/grub/menu.lst

Enter your sudo password.

Add "makeactive" to the XP entry in menu.lst.


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

Save.

Reboot and see if you can get XP to load.

vampur
August 22nd, 2008, 01:01 PM
it just says now
bash: /boot/grub/menu.lst: Permission denied

sandysandy
August 22nd, 2008, 01:41 PM
try this code

gksudo gedit /boot/grub/menu.lst

it will ask u for password. use ur normal password.

regards

vampur
August 22nd, 2008, 01:46 PM
i treid that active one but still dosen't work dear

sandysandy
August 22nd, 2008, 03:40 PM
i treid that active one but still dosen't work dear

do u have the requisite privileges on your account to use sudo.

regards