Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Can't Access Win XP from GRUB

  • 11-02-2008 02:24PM
    #1
    Registered Users, Registered Users 2 Posts: 447 ✭✭


    I've recently installed UBUNTU 7.10 on a different HDD than windows is installed on.
    UBUNTU works fine, But the problem is when you boot up there was no option to boot into windows. I searched the internet & found some help on editing the /boot/grub/menu.lst file. The first 3 were already there & the last entry is the one which I made. When I select the Windows option it says.."Entering Stage 2"
    Shortly followed by a "read error".
    Any help would be Greatly appreciated.

    title Ubuntu 7.10, kernel 2.6.22-14-generic
    root (hd2,1)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=741fc2d5-8f34-4fe0-b1a0-3274e6fc74d8 ro quiet splash
    initrd /boot/initrd.img-2.6.22-14-generic
    quiet

    title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root (hd2,1)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=741fc2d5-8f34-4fe0-b1a0-3274e6fc74d8 ro single
    initrd /boot/initrd.img-2.6.22-14-generic

    title Ubuntu 7.10, memtest86+
    root (hd2,1)
    kernel /boot/memtest86+.bin
    quiet

    title Windows XP
    root (hd0,0)
    makeactive
    chainloader +1
    quiet


Comments

  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Are you sure windows is on hd0? Try from the command line
    mount hda1 /mnt
    ls /mnt
    

    Does it show up your Windows file structure? Post up your output.


  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Tried that

    mount hda1 /mnt
    mount: special device hda1 does not exist

    ls /mnt
    c

    Here is a screen shot from G parted, Windows is on the 28GB partition.


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Okay, first try this:

    ls /mnt/c

    Does this show your windows filesystem structure?

    Then try:

    mount -t ntfs /dev/sda1 /mnt
    ls /mnt


  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Not getting anything much.
    Do you think windows has been corrupted?
    usr@usr-desktop:~$ sudo mount -t ntfs /dev/sda1 /mnt
    NTFS signature is missing.
    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?

    usr@usr-desktop:~$


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    shinobi wrote: »
    Not getting anything much.
    Do you think windows has been corrupted?

    I doubt it. Although I don't like the look of that exclamation mark in your gparted screenshot. What do you get for ls /mnt/c at the moment? Also give us a look at the output of fdisk -l.

    I'm not at my Linux machine at the moment so I can't mess about with a few commands to see what you should be getting. I'll have another look when I get home but in the mean time someone else here will probably figure it out for you.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Nothing happens when I enter the commands in terminal.
    usr@usr-desktop:~$ fdisk -l
    usr@usr-desktop:~$ ls /mnt/c
    usr@usr-desktop:~$

    Thanks again for the help.


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Oops! This is the problem with me trying to remember commands without my machine in front of me! It should have been "fdisk -l /dev/sda". Give that a shot.


  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Didn't get too much...
    usr@usr-desktop:~$ fdisk -l /dev/sda1
    Cannot open /dev/sda1


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Nope, try fdisk -l /dev/sda, not fdisk -l /dev/sda1


  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Same message:
    usr@usr-desktop:~$ fdisk -l /dev/sda
    Cannot open /dev/sda


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Make sure you are the root user when running this command.


Advertisement