Find the answer to your Linux question:
Results 1 to 8 of 8
Just installed 10.04 LTS to a Dell 7500. I've installed on the second of two hard drives. Linux won't boot. Here's output of fisk -l Code: Disk /dev/sda: 500.1 GB, ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    10

    new installation 10.04 won't boot

    Just installed 10.04 LTS to a Dell 7500. I've installed on the second of two hard drives. Linux won't boot. Here's output of fisk -l

    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xf0000000
    
       Device Boot      Start         End      Blocks   Id  System
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00058a73
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       59532   478183424   83  Linux
    /dev/sdb2           59532       60802    10201089    5  Extended
    /dev/sdb5           59532       60802    10201088   82  Linux swap / Solaris
    I've gone into setup at startup and chosen first hard drive for boot order. Get a blinking cursor. Also tried second hard drive as first in order. Here it hangs after "MPT Boot ROM successfully installed".

    I suspect BIOS is not seeing grub. Are there things to check from the live CD? Only file I see in /boot/grub/ is grubenv. Even after mounting /dev/sdb1. Should there be a grub.conf?

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    This is just a guess but it sounds like GRUB did not get installed correctly. You might try Rescatux and see if that helps you.
    Super Grub Disk
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    10

    new installation 10.04 won't boot

    Thanks. I'm starting again from scratch tomorrow. Will post results.

  4. #4
    Just Joined!
    Join Date
    Jun 2011
    Posts
    10
    I just did a clean install to second hard drive. Told installer to put bootloader to /sdb.

    Looks like this machine has a hardware raid controller. On startup it searches for devices and shows two hard drives and LSILogic SAS1068E-IR. Then just hangs. Could hardware raid be a problem here? Outputs of fdisk -l and boot_info_script:

    ubuntu@ubuntu:~$ sudo fdisk -l

    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b0ca0
    
       Device Boot      Start         End      Blocks   Id  System
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00087833
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       58336   468581376   83  Linux
    /dev/sdb2           58336       60802    19803137    5  Extended
    /dev/sdb5           58336       60802    19803136   82  Linux swap / Solaris
    ubuntu@ubuntu:~$ more RESULTS.txt

    Code:
                      Boot Info Script 0.60    from 17 May 2011
    
    
    ============================= Boot Info Summary: ===============================
    
     => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
        428100032 of the same hard drive for core.img, but core.img can not be 
        found at this location.
     => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector 
        1 of the same hard drive for core.img. core.img is at this location and 
        looks in partition 1 for /boot/grub.
    
    sdb1: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.2 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sdb2: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdb5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    
    
    Drive: sdb _____________________________________________________________________
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sdb1    *          2,048   937,164,799   937,162,752  83 Linux
    /dev/sdb2         937,166,846   976,773,119    39,606,274   5 Extended
    /dev/sdb5         937,166,848   976,773,119    39,606,272  82 Linux swap / Solar
    is
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/loop0                                              squashfs   
    /dev/sdb1        77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4   ext4       
    /dev/sdb5        e06b7928-11f0-4581-9c62-71058ff12f18   swap       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)
    
    
    =========================== sdb1/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfa
    il; fi; fi
    }
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linu
    x --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    	linux	/boot/vmlinuz-2.6.32-28-generic root=UUID=77ce3cb9-7f4f-4c60-a9b
    e-3bd1675ed4d4 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu 
    --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    	echo	'Loading Linux 2.6.32-28-generic ...'
    	linux	/boot/vmlinuz-2.6.32-28-generic root=UUID=77ce3cb9-7f4f-4c60-a9b
    e-3bd1675ed4d4 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-28-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set 77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    --------------------------------------------------------------------------------
    
    =============================== sdb1/etc/fstab: ================================
    
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sdb1 during installation
    UUID=77ce3cb9-7f4f-4c60-a9be-3bd1675ed4d4 /               ext4    errors=remount
    -ro 0       1
    # swap was on /dev/sdb5 during installation
    UUID=e06b7928-11f0-4581-9c62-71058ff12f18 none            swap    sw            
      0       0
    --------------------------------------------------------------------------------
    
    =================== sdb1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     288.134025574 = 309.381554176  boot/grub/core.img                             1
      12.137725830 = 13.032783872   boot/grub/grub.cfg                             1
     288.141796112 = 309.389897728  boot/initrd.img-2.6.32-28-generic              1
     288.132625580 = 309.380050944  boot/vmlinuz-2.6.32-28-generic                 1
     288.141796112 = 309.389897728  initrd.img                                     1
     288.132625580 = 309.380050944  vmlinuz                                        1

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    I think hardware raid controller might be a problem. I have no familiarity with it so can't give you any advice.

    You do have sdb set to first boot priority? According to the bootinfo script, sda has no partitions and is not formatted but does have Grub2 in the mbr. It also shows Grub2 in the mbr of sdb looking for additional Grub2 files on sdb1 and shows they are present. I would suggest you go to the Ubuntu site below, Section 8.1 and modify your boot menu to change the set root line to (hd0,1) and try that. Read the page first, this is a one time thing and if it boots successfully, you can change it permanently. Instructions to do that are also on that page:

    https://help.ubuntu.com/community/Grub2

  6. #6
    Just Joined!
    Join Date
    Jun 2011
    Posts
    10
    On startup I go to setup to select boot priority. This is not in GRUB. It never gets to GRUB whether I set first hard drive as priority or second. When I set second as priority it hangs after "MPT Boot ROM successfully installed" in startup scroll. When I select first hard drive as priority the screen eventually goes black.

    The section 8.1 you point to is for editing GRUB after GRUB comes up. I've never seen GRUB show. I understand I should be able to get to GRUB config files, etc but have never been able to locate them. I tried to mount /dev/sdb but got message saying mount was busy.

  7. #7
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    "MPT Boot ROM successfully installed"
    I'm not familiar with whatever the above is but googling it got a lot of sites with problems. Might try a web search with that message.

  8. #8
    Just Joined!
    Join Date
    Jun 2011
    Posts
    10
    Looks like that message is related to hardware controller. I need to confirm that the LSILogic controller is not active. That is, the two driver are not in RAID configuration when starting system. I understand that is checked in BIOS or with a live CD. Anyone know how to confirm this? I want to have two independent disk drives. If I can get to that point then booting should not be a tremendous challenge.

Posting Permissions

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