Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi guys So I have Windows 7 installed. Then I installed Ubuntu. Then Backtrack 4. So that corrupted the ubuntu boot! Code: title Ubuntu 8.10, kernel 2.6.27-7-generic uuid bf3b0243-7670-4601-b8fa-61fb6f7c32c5 kernel ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5

    Grub 1.5 error booting

    Hi guys

    So I have Windows 7 installed.
    Then I installed Ubuntu.
    Then Backtrack 4.

    So that corrupted the ubuntu boot!

    Code:
    title Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid bf3b0243-7670-4601-b8fa-61fb6f7c32c5
    kernel /boot/vmlinuz-2.6.31-20-generic-pae root=UUID=882ea2ed-31f9-45ed-93cc-21b75f190091 ro   quiet splash
    initrd /boot/initrd.img-2.6.31-20-generic-pae
    quiet
    So this is what I tried with and I get a error18.

    Now what would be the correct exact code?

    This is how my current boot config looks

    Code:
    title		Backtrack 4
    uuid		7b2f31aa-70f7-49e9-89c3-c277e562ea2c
    kernel		/boot/vmlinuz-2.6.30.9 root=UUID=7b2f31aa-70f7-49e9-89c3-c277e562ea2c ro quiet splash 
    initrd		/boot/initrd.img-2.6.30.9
    quiet
    
    title		Backtrack 4 (recovery mode)
    uuid		7b2f31aa-70f7-49e9-89c3-c277e562ea2c
    kernel		/boot/vmlinuz-2.6.30.9 root=UUID=7b2f31aa-70f7-49e9-89c3-c277e562ea2c ro  single
    initrd		/boot/initrd.img-2.6.30.9
    
    title		Ubuntu
    kernel /vmlinuz root=/dev/sda3 loop=/ubuntu/disks/root.disk ro
    initrd /initrd.img
    root		(hd0,2)
    
    ### 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		Windows 7 BCD
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    
    title Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid bf3b0243-7670-4601-b8fa-61fb6f7c32c5
    kernel /boot/vmlinuz-2.6.31-20-generic-pae root=UUID=882ea2ed-31f9-45ed-93cc-21b75f190091 ro   quiet splash
    initrd /boot/initrd.img-2.6.31-20-generic-pae
    quiet
    Anyone have any ideas?

  2. #2
    Just Joined! Feeyo's Avatar
    Join Date
    Apr 2010
    Posts
    54
    Hi there,

    Try changing the menu.lst file with a livecd.
    And change/add:
    root=UUID=882ea2ed-31f9-45ed-93cc-21b75f190091 real_root=/dev/sdx
    Replace the /dev/sdx with your root device.

    If you need help show me your disk setup with disk -l please.

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5
    Quote Originally Posted by Feeyo View Post
    Hi there,

    Try changing the menu.lst file with a livecd.
    And change/add:
    root=UUID=882ea2ed-31f9-45ed-93cc-21b75f190091 real_root=/dev/sdx
    Replace the /dev/sdx with your root device.

    If you need help show me your disk setup with disk -l please.
    Hey thanks for the reply.

    I get an error: Error 11: Unrecognized device string.

    I tried sda3 and sd3 (where 3 is the part. I have ubuntu installed on)

    I can boot fine in to Windows and Backtrack 4 ^^ just not ubuntu.

    Disk -l doesn't work in Backtrack 4.

  4. #4
    Just Joined! Feeyo's Avatar
    Join Date
    Apr 2010
    Posts
    54
    Ah sorry mate that was a typo... ( fdisk -l )
    Try using:

    Code:
    title Ubuntu 8.10, kernel 2.6.27-7-generic
    kernel /boot/vmlinuz-2.6.31-20-generic-pae root=/ real_root=/dev/sda3 ro   quiet splash
    initrd /boot/initrd.img-2.6.31-20-generic-pae
    quiet

  5. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5
    Quote Originally Posted by Feeyo View Post
    Ah sorry mate that was a typo... ( fdisk -l )
    Try using:

    Code:
    title Ubuntu 8.10, kernel 2.6.27-7-generic
    kernel /boot/vmlinuz-2.6.31-20-generic-pae root=/ real_root=/dev/sda3 ro   quiet splash
    initrd /boot/initrd.img-2.6.31-20-generic-pae
    quiet
    The code you gave my just directly gave my an error 15!

    This is what I get from fdisk -l

    Code:
    root@bt:~# fdisk -l
    
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000c255f
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       20127   161670096    7  HPFS/NTFS
    /dev/sda2           20128       21402    10241437+  83  Linux
    /dev/sda3           21403       30402    72284160    7  HPFS/NTFS
    
    Disk /dev/sdb: 16.0 GB, 16030597120 bytes
    32 heads, 63 sectors/track, 15530 cylinders
    Units = cylinders of 2016 * 512 = 1032192 bytes
    Disk identifier: 0x57eb4eb5
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       15530    15654208+   c  W95 FAT32 (LBA)
    root@bt:~#

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    According to menu.lst file file posted by you, real_root=/dev/sda2 but its NTFS.
    Where is Ubuntu/BackTrack partitions? You have only one Linux Partition.
    It looks like you have overwritten Ubuntu by Backtrack. Does Backtrack boot up fine?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! Feeyo's Avatar
    Join Date
    Apr 2010
    Posts
    54
    Yep you installed Backtrack over Ubuntu partition. So that one is lost
    I also do not see a type 82 on your disks (SWAP) partition.

    For the next time installing a linux system I do hint to also create a swap partition.

  8. #8
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5
    Quote Originally Posted by devils casper View Post
    According to menu.lst file file posted by you, real_root=/dev/sda2 but its NTFS.
    Where is Ubuntu/BackTrack partitions? You have only one Linux Partition.
    It looks like you have overwritten Ubuntu by Backtrack. Does Backtrack boot up fine?
    Sorry guys, but you're wrong. My backtrack and windows boots fine. Ubuntu is installed on a NTFS disk and worked fine from the start, so windows is one one part. backtrack on one, and ubuntu on one so no I didn't overwrite anything (since I reinstalled ubuntu once again on the NTFS drive) I did install it on a ntfs drive from the beginning and it worked fine then

    So It's just the boot settings that are ****ed up.

    Or does ubuntu have to be on a linux part. because I installed it from windows and if it wound't had been a ntfs part. I cound't accsses it right? so then I wound't be able to install it :P


    So pretty sure it's just a grub setting... (booting also fails from windows bcd.)

  9. #9
    Just Joined! Feeyo's Avatar
    Join Date
    Apr 2010
    Posts
    54
    So you installed Ubuntu with the Wubi tool? Does this mean it has installed Ubuntu as a Virtual Machine on your ntfs partition?

    Sorry this is new for me and my help stops right here

    Good luck though hehe.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the contents of boot.ini file of Windows OS.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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