Results 1 to 10 of 19

Thread: GRUB: Ubuntu after Vista = Vista gone!

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Beans
    18

    Unhappy GRUB: Ubuntu after Vista = Vista gone!

    Hello,

    I've a problem, I have a new PC with a 750GB SATA disk, with 3 partitions on it:

    1st partition: 200GB: Windows Vista Ultimate 32-bit (NTFS)
    2nd partition: 150GB: Linux Ubuntu 8.10 (Bčta) 32-bit (EXT3)
    3rd partition: 400GB: Storage & Backup (NTFS)

    First, I installed Vista, then, when the Bčta was released, I installed Ubuntu 8.10 Bčta (it is great btw). But the GRUB doesn't show Vista in the list (you know, when the pc boots, you get a screen where you can select the OS you want to boot). I already tried modifying the menu.lst, and reďnstall the GRUB, reďnstall the Windows Boot Loader, overwrite the MBR, etc. But I can't get Vista to boot!!

    In the 'fresh' menu.lst, there was no Vista at all, and when I do it manually it can't recognize the device. Except when I say the Windows root is (hd0,2). But then 'something' says that bootmngr is missing. Ubuntu 8.10 however is in the list, and boots perfectly.

    Both Ubuntu and Vista partitions can be removed (there's no important data on them), but the 3rd partition HAS TO REMAIN WERE IT IS! Only in case of emergency I can back-up the back-ups to another HDD.

    I hope you can help me, I use Vista for games, and I game a lot!

    Fleuris

  2. #2
    Join Date
    Jan 2006
    Location
    Iberian Peninsula
    Beans
    354

    Smile Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by Fleuris View Post
    1st partition: 200GB: Windows Vista Ultimate 32-bit (NTFS)
    2nd partition: 150GB: Linux Ubuntu 8.10 (Bčta) 32-bit (EXT3)
    3rd partition: 400GB: Storage & Backup (NTFS)

    But I can't get Vista to boot!!
    If you are right about Vista being in the first partition check: http://www.supergrubdisk.org/wiki/Ho...#Grub_solution

    If it still does not work activate the Vista partition from the Super Grub Disk's Boot & Tools -> Activate partitions menu.

    If it still does not work please post Hard Disks partition layout from Super Grub Disk point of view.


    adrian15

  3. #3
    Join Date
    Jun 2008
    Beans
    18

    Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by adrian15
    If you are right about Vista being in the first partition check: http://www.supergrubdisk.org/wiki/Ho...#Grub_solution

    If it still does not work activate the Vista partition from the Super Grub Disk's Boot & Tools -> Activate partitions menu.

    If it still does not work please post Hard Disks partition layout from Super Grub Disk point of view.


    adrian15
    I'll try that, thanks!

    I've just tried installing Ubuntu 8.04 on another partition, but even that won't work. The GRUB shows both Ubuntu's, but no Windows Vista!

  4. #4
    Join Date
    Jan 2006
    Location
    Iberian Peninsula
    Beans
    354

    Wink Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by Fleuris View Post
    I'll try that, thanks!

    I've just tried installing Ubuntu 8.04 on another partition, but even that won't work. The GRUB shows both Ubuntu's, but no Windows Vista!
    Try it and Vista entry will appear. Depending on your setup it might boot or not (multiple hard disk give some headaches sometimes).

    adrian15

  5. #5
    Join Date
    Jun 2008
    Beans
    18

    Unhappy Re: GRUB: Ubuntu after Vista = Vista gone!

    All right, I tried everything you wrote, and nothing has worked!

    I made my menu.lst look like this: (this is my menu.lst)
    ## ## End Default Options ##

    title Ubuntu intrepid (development branch), kernel 2.6.27-7-generic
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=2449953c-591f-4d3d-a048-3a216f7755ea ro quiet splash
    initrd /boot/initrd.img-2.6.27-7-generic
    quiet

    title Ubuntu intrepid (development branch), kernel 2.6.27-7-generic (recovery mode)
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=2449953c-591f-4d3d-a048-3a216f7755ea ro single
    initrd /boot/initrd.img-2.6.27-7-generic

    title Ubuntu intrepid (development branch), kernel 2.6.27-4-generic
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.27-4-generic root=UUID=2449953c-591f-4d3d-a048-3a216f7755ea ro quiet splash
    initrd /boot/initrd.img-2.6.27-4-generic
    quiet

    title Ubuntu intrepid (development branch), kernel 2.6.27-4-generic (recovery mode)
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.27-4-generic root=UUID=2449953c-591f-4d3d-a048-3a216f7755ea ro single
    initrd /boot/initrd.img-2.6.27-4-generic

    title Ubuntu intrepid (development branch), memtest86+
    root (hd0,5)
    kernel /boot/memtest86+.bin
    quiet

    title Windows
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    boot

    ### END DEBIAN AUTOMAGIC KERNELS LIST
    But when I try to boot Windows, it says: "Error 12: Invalid device requested"

    The I tried to activate the partition with my Windows (hd0,4), but then it also says: "Error 12: Invalid device requested" this message is in the SGD.

    Now, here is my layout, I hope you can help me out:
    fdisdklu
    6 (hd0,5) ext2fs 141GB Ubuntu inteprid (development branch) \n \l
    pause SGD has succeeded!
    SGD has succeeded!
    And here is my overview of my partitions, from SGD:
    N IDE SCSI GRUB HURD TYPE SIZE OS
    3 hda3 sda3 (hd0,2) hd0s3 NTFS 356GB Windows
    5 hda5 sda5 (hd0,4) hd0s5 NTFS 195GB Windows
    6 hda6 sda6 (hd0,5) hd0s6 ext2fs 141GB Ubuntu inteprid
    7 hda7 sda7 (hd0,6) hd0s7 Swap 4GB

  6. #6
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: GRUB: Ubuntu after Vista = Vista gone!

    It would help if you could post:
    Code:
    sudo fdisk -lu
    Which I assume is what the SGD output you posted is, but it shows your Windows is not on sda1; you have two NTFS partitions, sda3 and sda5 according to SGD. Do you know which one is Vista? Try changing your Windows entry in your menu.lst to:
    Code:
    title Windows Vista
    rootnoverify (hd0,2)
    makeactive
    chainloader +1
    And let me know what happens when you try it on start up. If it doesn't work, please post the output of:
    Code:
    sudo mount /dev/sda3 /mnt
    ls -l /mnt
    Note "-l" is a lowercase L, not a one.

  7. #7
    Join Date
    Jan 2006
    Location
    Iberian Peninsula
    Beans
    354

    Unhappy Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by Fleuris View Post
    But when I try to boot Windows, it says: "Error 12: Invalid device requested"
    Can you please remove the makeactive line and see what it happens?

    Quote Originally Posted by Fleuris View Post
    The I tried to activate the partition with my Windows (hd0,4), but then it also says: "Error 12: Invalid device requested" this message is in the SGD.
    Interesting.

    Quote Originally Posted by Fleuris View Post
    Now, here is my layout, I hope you can help me out:
    If you use 0.9766 SGD version I definitely need to fix it because it should show you all the lines and not only one line.

    Quote Originally Posted by Fleuris View Post
    And here is my overview of my partitions, from SGD:
    From Boot & Tools -> Show Partitions menu, isn't it?

    Let's see you can try this on your menu.lst (see that there is not a makeactive command):

    Code:
    title win
    rootnoverify (hd0,2)
    chainloader +1
    boot
    adrian15

  8. #8
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by adrian15 View Post
    If it still does not work activate the Vista partition from the Super Grub Disk's Boot & Tools -> Activate partitions menu.

    adrian15
    Just out of curiosity, I followed that link you give above for "activate partitions", and it doesn't say what is does; does it set the boot flag on the partition, i.e. make it the "active" partition?

  9. #9
    Join Date
    Jan 2006
    Location
    Iberian Peninsula
    Beans
    354

    Re: GRUB: Ubuntu after Vista = Vista gone!

    Quote Originally Posted by caljohnsmith View Post
    Just out of curiosity, I followed that link you give above for "activate partitions", and it doesn't say what is does; does it set the boot flag on the partition, i.e. make it the "active" partition?
    Yes, you are right.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •