PDA

View Full Version : [ubuntu] 9.1 Installs but won't boot



vlad357
February 12th, 2010, 08:33 PM
Hi I am trying to install 9.1 on an IBM T40. It looks like the standard CD ISO install works ok, but it wont boot after the install. If I boot to the CD as a live CD on the T40 it works great. I have tried several times with the same results. I checked the media by making a good instal on a HO 8530w which works fine.

darkod
February 12th, 2010, 08:37 PM
Hi I am trying to install 9.1 on an IBM T40. It looks like the standard CD ISO install works ok, but it wont boot after the install. If I boot to the CD as a live CD on the T40 it works great. I have tried several times with the same results. I checked the media by making a good instal on a HO 8530w which works fine.

Any specific errors it is giving you? Where does it fail?

vlad357
February 12th, 2010, 08:46 PM
The install appears to complete and says it needs to reboot. After the shutdown and restart it can't find a operating system to boot. I have tried the boot on first HD option (the system has only one 4o Gig HD) but get the same results of I think no operating system found. I don't have the box here but will take another look at it tonight.

darkod
February 12th, 2010, 09:32 PM
The install appears to complete and says it needs to reboot. After the shutdown and restart it can't find a operating system to boot. I have tried the boot on first HD option (the system has only one 4o Gig HD) but get the same results of I think no operating system found. I don't have the box here but will take another look at it tonight.

Also make sure you take the cd out after finishing the install. The first reboot after install should already be from the hdd, the cd has finished its job.

duver299
February 14th, 2010, 04:00 AM
I am actually having this same issue. I first had Windows 7 x64 installed and decided to add Ubuntu Server 9.10 x64 to form a dual booting system. After the installation, it completely ignored the linux server so I completely removed windows 7. The installation goes on without a hitch. I do remove the cd after the installation. After it goes through the reboot nothing happens. It just waits after the "Verifying DMI Pool Data" message. Has anybody gotten a fix for this problem?

Yogotiss
February 14th, 2010, 04:18 AM
Try this, download the alternate Ubuntu 9.10 version here (http://releases.ubuntu.com/karmic/ubuntu-9.10-alternate-i386.iso). I used to support the ThinkPad machines and I'm sure this works!

pizza-is-good
February 14th, 2010, 04:20 AM
Do you see grub(bootloader) when you attempt to boot?

presence1960
February 14th, 2010, 04:39 AM
Hi I am trying to install 9.1 on an IBM T40. It looks like the standard CD ISO install works ok, but it wont boot after the install. If I boot to the CD as a live CD on the T40 it works great. I have tried several times with the same results. I checked the media by making a good instal on a HO 8530w which works fine.

Need to see exactly what you have on that rig & it's boot process. Let's get a better look at your setup & boot process. Boot the Ubuntu Live CD/USB. Choose "try ubuntu without any changes", when the desktop loads come back here and do the following:

1. Download the boot info script. There is link in my signature.
2. Once downloaded move the boot info script to the desktop.
3. Open a terminal and run the command
sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

See here (http://bootinfoscript.sourceforge.net/) for more info on the boot info script.

Above link is to meierfra's Sourceforge web page.

duver299
February 14th, 2010, 05:15 AM
Since I'm having the same issue, I will show you my results:
I should also add that I installed Ubuntu desktop 9.10 x64 on a separate hard drive, hoping that this would somehow solve the issue but it didn't. This should explain the second drive that you see in the results.


============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /grub.
=> No boot loader is installed in the MBR of /dev/sdb
sda1: __________________________________________________ _______________________

File system: LVM2_member
Boot sector type: -
Boot sector info:

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/grub.cfg /grub/core.img

sdb1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /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
Disk identifier: 0x349e349d

Partition Boot Start End Size Id System

/dev/sda1 * 63 976,270,049 976,269,987 8e Linux LVM
/dev/sda2 976,270,050 976,768,064 498,015 5 Extended
/dev/sda5 976,270,113 976,768,064 497,952 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000835c6

Partition Boot Start End Size Id System

/dev/sdb1 63 1,899,461,339 1,899,461,277 83 Linux
/dev/sdb2 1,899,461,340 1,953,520,064 54,058,725 5 Extended
/dev/sdb5 1,899,461,403 1,953,520,064 54,058,662 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 uwEPlK-Vm1r-FWvf-WzPV-heNW-FzV6-oEBSHJ LVM2_member
/dev/sda5 fba01cb3-8ee9-4827-82d5-9323979aa58e ext2
/dev/sdb1 ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ext4
/dev/sdb5 9a6dc491-5dd0-4e48-8fda-ae18f1be2424 swap

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (rw)
/dev/loop0 /rofs squashfs (rw)
/dev/sda5 /media/fba01cb3-8ee9-4827-82d5-9323979aa58e ext2 (rw,nosuid,nodev,uhelper=devkit)
/dev/sdb1 /media/ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ext4 (rw,nosuid,nodev,uhelper=devkit)


============================= sda5/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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod lvm
insmod ext2
set root=(uServer10-root)
search --no-floppy --fs-uuid --set 5600e639-64aa-4fb4-b81c-7ca49e49cdf8
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
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-server" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set fba01cb3-8ee9-4827-82d5-9323979aa58e
linux /vmlinuz-2.6.31-14-server root=/dev/mapper/uServer10-root ro quiet splash
initrd /initrd.img-2.6.31-14-server
}
menuentry "Ubuntu, Linux 2.6.31-14-server (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set fba01cb3-8ee9-4827-82d5-9323979aa58e
linux /vmlinuz-2.6.31-14-server root=/dev/mapper/uServer10-root ro single
initrd /initrd.img-2.6.31-14-server
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, Linux 2.6.31-14-generic (on /dev/sdb1)" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ad260c1c-f0b5-4399-b0d5-8170b5d4c33f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode) (on /dev/sdb1)" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ad260c1c-f0b5-4399-b0d5-8170b5d4c33f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### 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 ###

=================== sda5: Location of files loaded by Grub: ===================


500.0GB: grub/core.img
500.0GB: grub/grub.cfg
499.8GB: initrd.img-2.6.31-14-server
499.8GB: vmlinuz-2.6.31-14-server

=========================== 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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd2,1)
search --no-floppy --fs-uuid --set ad260c1c-f0b5-4399-b0d5-8170b5d4c33f
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
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd2,1)
search --no-floppy --fs-uuid --set ad260c1c-f0b5-4399-b0d5-8170b5d4c33f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd2,1)
search --no-floppy --fs-uuid --set ad260c1c-f0b5-4399-b0d5-8170b5d4c33f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ad260c1c-f0b5-4399-b0d5-8170b5d4c33f ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
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 defaults 0 0
# / was on /dev/sdc1 during installation
UUID=ad260c1c-f0b5-4399-b0d5-8170b5d4c33f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=9a6dc491-5dd0-4e48-8fda-ae18f1be2424 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sdb1: Location of files loaded by Grub: ===================


.2GB: boot/grub/core.img
.2GB: boot/grub/grub.cfg
.3GB: boot/initrd.img-2.6.31-14-generic
.2GB: boot/vmlinuz-2.6.31-14-generic
.3GB: initrd.img
.2GB: vmlinuz

presence1960
February 14th, 2010, 12:00 PM
I see you have LVM on sda. I don't know much about that and you don't have an /etc/fstab for the install on sda so I will skip that. But you can get the install on sdb booting. You will need to put GRUB on MBR of sdb and make sdb first disk to boot in the hard disk boot order in BIOS.

To install GRUB on MBR of sdb do this:

1 Boot the 9.10 Live CD. Choose try ubuntu without any changes. When the desktop loads open a terminal and run
sudo mount /dev/sdb1 /mntThis will mount the / partition on sdb.

2. next in terminal run
sudo grub-install --root-directory=/mnt/ /dev/sdbThis will put GRUB on MBR of sdb.

3. Reboot without the Live Cd and go into BIOS & make sdb (1TB) first disk to boot in the hard disk boot order. Save changes to CMOS and continue booting. You should be good to go.

darkod
February 14th, 2010, 12:33 PM
@duver299

On /dev/sda it seems you have /boot partition but as extended (logical). I don't have enough experience with ubuntu to know if it can work that way, but with LVM it's completely strange to have that setup.
Yes, I think you need to have separate /boot outside the LVM, but no need to be at the end and to be extended. Why don't you try this:
1. If you don't need any of the data on it, delete all partitions from /dev/sda. Then start with the alternate cd and first create 200MB or 300MB primary ext4 /boot partition.
2. Then create again primary (no need for extended at all) partition from the rest of the hdd and specify it as LVM member (I see you know how to do this).
3. Then just create what ever partitions (mount points) you want in the LVM.

Few days ago for practice, in Virtual Box I created two 8GB virtual disks to see how software RAID + LVM would go (I have only one hdd). Even if it was my first try, it was great. :) It was my first time with the alternate cd but it was easier than I thought, just follow the main principles:

1. Separate /boot, just in case.
2. If you want software raid create equal partitions on both disks and configure raid0, raid1, etc.
3. Once the raid is configured it is showing as single device, configure LVM with that device as physical device. Job done.

Of course, skip the raid part if not needed.

sesykes71
February 14th, 2010, 03:28 PM
I have the same problem with a desktop with XP installed. I followed your instructions and here is the file I got:

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /boot/grub.
sda1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda3: __________________________________________________ _______________________

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
Disk identifier: 0xabf5abf5

Partition Boot Start End Size Id System

/dev/sda1 * 63 284,993,099 284,993,037 7 HPFS/NTFS
/dev/sda2 284,993,100 968,960,474 683,967,375 5 Extended
/dev/sda5 284,993,163 480,311,369 195,318,207 83 Linux
/dev/sda6 480,311,433 968,960,474 488,649,042 83 Linux
/dev/sda3 968,960,475 976,768,064 7,807,590 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 8A500970500963F3 ntfs
/dev/sda3 9f42e953-f5a8-4eeb-b04e-d1ad237db2d1 swap
/dev/sda5 f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d ext4
/dev/sda6 fd994ee7-e621-464d-9b49-d9f2b4130622 ext4

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (rw)
/dev/loop0 /rofs squashfs (rw)


================================ sda1/boot.ini: ================================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

=========================== sda5/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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d
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
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8a500970500963f3
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###

=============================== sda5/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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=f95576ce-b7f4-4b8c-8f2e-38dbe3a0306d / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=fd994ee7-e621-464d-9b49-d9f2b4130622 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=9f42e953-f5a8-4eeb-b04e-d1ad237db2d1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sda5: Location of files loaded by Grub: ===================


149.4GB: boot/grub/core.img
149.5GB: boot/grub/grub.cfg
146.4GB: boot/initrd.img-2.6.31-14-generic
146.4GB: boot/vmlinuz-2.6.31-14-generic
146.4GB: initrd.img
146.4GB: vmlinuz



I am not sure what to do next. I would appreciate any help.


Steve Sykes




Need to see exactly what you have on that rig & it's boot process. Let's get a better look at your setup & boot process. Boot the Ubuntu Live CD/USB. Choose "try ubuntu without any changes", when the desktop loads come back here and do the following:

1. Download the boot info script. There is link in my signature.
2. Once downloaded move the boot info script to the desktop.
3. Open a terminal and run the command
sudo bash ~/Desktop/boot_info_script*.sh This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

See here (http://bootinfoscript.sourceforge.net/) for more info on the boot info script.

Above link is to meierfra's Sourceforge web page.

darkod
February 14th, 2010, 03:44 PM
@sesykes71

The results file looks fine. Is there any specific error when you can't boot? Do you get the grub menu? Can you boot at least one OS or nothing?

Some older BIOSes have a limitation that they can't read boot files beyond 137GB and your boot files are beyond that limit:
149.4GB: boot/grub/core.img

But I don't know how to check if that is your problem. Maybe presence knows.

sesykes71
February 14th, 2010, 04:43 PM
When the grub screen opens it looks normal. I then select unbuntu and get:

error: couldn't read file
Press any key to continue...

This brings me back to the menu. If I select windows, XP boots correctly.

Steve

duver299
February 16th, 2010, 11:02 PM
Well, the solution from presence1960 works well. I was able to start ubuntu desktop. Thanks for your help. Still nothing on the server. My instructor suggested not using lvm during the install. I will try it later tonight.

presence1960
February 17th, 2010, 12:28 AM
Well, the solution from presence1960 works well. I was able to start ubuntu desktop. Thanks for your help. Still nothing on the server. My instructor suggested not using lvm during the install. I will try it later tonight.

Glad to be able to help you out. Enjoy ubuntu.

twopenny
February 17th, 2010, 04:00 AM
Hello guys, my first ever linux install and my first post on this forum!

I'm having the same problem with my installation (9.1) as is being described and after a few hours of reading I haven't been able to solve it. Any help would be fantastic!

My setup prior to installation;

RAID 5
Partition 1: [System reserved] - contains windows 7 boot files etc
Partition 2: [System] - contains windows 7 system files
Partition 3: [Storage] - ntfs formatted partition used for storage
UNPARTITIONED SPACE (60GB)

I then ran the Ubuntu 9.1 installation from USB.

Creating the following partitions in the unpartitioned space;

Partition 4: [swap] - 4096MB (approx amount of ram)
Partition 5: [ext4] - /

Then installed ubuntu successfully (I believe).

MY ISSUE

A quick reboot, using the raid array, and I boot immediately into Windows 7. No GRUB2 manager displayed.

Any tutorial I have read as to how to install grub has been fruitless.

my RESULTS file is as follows;



Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Windows is installed in the MBR of /dev/sda
=> Syslinux is installed in the MBR of /dev/sde
=> Windows is installed in the MBR of /dev/mapper/isw_cfecfjjihf_WDRAID

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
mount: unknown filesystem type ''

sda3: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

sda4: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

sda6: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

sde1: __________________________________________________ _______________________

File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 98
Boot files/dirs: /IO.SYS /COMMAND.COM

isw_cfecfjjihf_WDRAID1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

isw_cfecfjjihf_WDRAID2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe

isw_cfecfjjihf_WDRAID3: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

isw_cfecfjjihf_WDRAID4: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

isw_cfecfjjihf_WDRAID5: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/sda2 206,848 450,562,047 450,355,200 7 HPFS/NTFS
/dev/sda3 450,562,048 3,639,109,631 3,188,547,584 7 HPFS/NTFS
/dev/sda4 3,639,124,125 3,750,775,874 111,651,750 5 Extended
Invalid MBR Signature found
/dev/sda5 ? 3,639,124,125 3,639,124,124 Unknown
/dev/sda6 ? 3,639,124,125 3,639,124,124 Unknown

/dev/sda3 ends after the last sector of /dev/sda
/dev/sda4 ends after the last sector of /dev/sda
/dev/sda5 ends after the last sector of /dev/sda
the logical partition /dev/sda5 is not contained in the extended partition /dev/sda4
/dev/sda6 ends after the last sector of /dev/sda
the logical partition /dev/sda6 is not contained in the extended partition /dev/sda4

Drive: sde ___________________ __________________________________________________ ___

Disk /dev/sde: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders, total 7897088 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x004be3ca

Partition Boot Start End Size Id System

/dev/sde1 * 63 7,897,087 7,897,025 c W95 FAT32 (LBA)


Drive: isw_cfecfjjihf_WDRAID ___________________ __________________________________________________ ___

Disk /dev/mapper/isw_cfecfjjihf_WDRAID: 1920.4 GB, 1920398131200 bytes
255 heads, 63 sectors/track, 233475 cylinders, total 3750777600 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x76660758

Partition Boot Start End Size Id System

/dev/mapper/isw_cfecfjjihf_WDRAID1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/mapper/isw_cfecfjjihf_WDRAID2 206,848 450,562,047 450,355,200 7 HPFS/NTFS
/dev/mapper/isw_cfecfjjihf_WDRAID3 450,562,048 3,639,109,631 3,188,547,584 7 HPFS/NTFS
/dev/mapper/isw_cfecfjjihf_WDRAID4 3,639,124,125 3,750,775,874 111,651,750 5 Extended
/dev/mapper/isw_cfecfjjihf_WDRAID5 3,639,124,188 3,647,108,429 7,984,242 82 Linux swap / Solaris
/dev/mapper/isw_cfecfjjihf_WDRAID6 3,647,108,493 3,750,775,874 103,667,382 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/loop1 397eb6a2-98ac-c04a-9b01-d2e32d376a36 ext2 casper-rw
/dev/mapper/isw_cfecfjjihf_WDRAID1 B494AD2494ACEA56 ntfs System Reserved
/dev/mapper/isw_cfecfjjihf_WDRAID2 5A74BC8074BC6105 ntfs System
/dev/mapper/isw_cfecfjjihf_WDRAID3 88A8EC71A8EC5F66 ntfs Storage
/dev/mapper/isw_cfecfjjihf_WDRAID5 2f3aa84c-7499-4688-913f-f7ba133be49f swap
/dev/mapper/isw_cfecfjjihf_WDRAID6 f0e80fcf-e24d-4efe-99cd-04a4902a7446 ext4
/dev/sda isw_raid_member
/dev/sdb isw_raid_member
/dev/sdc isw_raid_member
/dev/sdd isw_raid_member
/dev/sde1 14FC-E280 vfat

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
isw_cfecfjjihf_WDRAID
isw_cfecfjjihf_WDRAID1
isw_cfecfjjihf_WDRAID2
isw_cfecfjjihf_WDRAID3
isw_cfecfjjihf_WDRAID5
isw_cfecfjjihf_WDRAID6

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sde1 /cdrom vfat (rw)
/dev/loop0 /rofs squashfs (rw)


================== isw_cfecfjjihf_WDRAID6/boot/grub/menu.lst: ==================

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/mapper/isw_cfecfjjihf_WDRAID6 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.10, kernel 2.6.31-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/isw_cfecfjjihf_WDRAID6 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/isw_cfecfjjihf_WDRAID6 ro single
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu 9.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

====================== isw_cfecfjjihf_WDRAID6/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 defaults 0 0
/dev/mapper/isw_cfecfjjihf_WDRAID6 / ext4 errors=remount-ro 0 1
/dev/mapper/isw_cfecfjjihf_WDRAID5 none swap sw 0 0

========== isw_cfecfjjihf_WDRAID6: Location of files loaded by Grub: ==========


1870.2GB: boot/grub/menu.lst
1867.6GB: boot/grub/stage2
1867.9GB: boot/initrd.img-2.6.31-14-generic
1867.8GB: boot/vmlinuz-2.6.31-14-generic
1867.9GB: initrd.img
1867.8GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1


Unknown BootLoader on sda2


Unknown BootLoader on sda3


Unknown BootLoader on sda4


Unknown BootLoader on sda5


Unknown BootLoader on sda6


Unknown BootLoader on isw_cfecfjjihf_WDRAID4



=============================== StdErr Messages: ===============================

hexdump: /dev/sda1: No such file or directory
hexdump: /dev/sda1: No such file or directory
hexdump: /dev/sda2: No such file or directory
hexdump: /dev/sda2: No such file or directory
hexdump: /dev/sda3: No such file or directory
hexdump: /dev/sda3: No such file or directory
hexdump: /dev/sda4: No such file or directory
hexdump: /dev/sda4: No such file or directory
hexdump: /dev/sda5: No such file or directory
hexdump: /dev/sda5: No such file or directory
hexdump: /dev/sda6: No such file or directory
hexdump: /dev/sda6: No such file or directory
hexdump: /dev/mapper/isw_cfecfjjihf_WDRAID4: No such file or directory
hexdump: /dev/mapper/isw_cfecfjjihf_WDRAID4: No such file or directory
Any ideas anyone? I'm absolutely stuck, and unsure as to whether the RAID5 (Which ubuntu seems to see and understand) is causing an issue.

darkod
February 17th, 2010, 03:05 PM
@twopenny

Did you use the standard desktop cd or alternate install cd? For RAID/LVM you need to use the alternate install cd.

I don't have much experience with RAID but from what I've read, your install is still successful but grub can't install correctly from the desktop cd.

Read here more about Fakeraid (motherboard raid):
https://help.ubuntu.com/community/FakeRaidHowto

You DO NOT need to reinstall ubuntu. You can add grub even with the same desktop cd, find that section in the article, it's named:

Live CD Installation (Ubiquity graphical installer)

In this section step 8 says Start the install, but you already have it installed so you should be able to start from step 9, Install Grub.

9.10 has dmraid included so it should be able to see the array. If not, try the beginning steps (step 1 to step 7), jump the install step, and continue with grub install.

Hope it makes sense. :)

twopenny
February 17th, 2010, 05:46 PM
Thanks for getting back so quickly on this issue unfortunatley that link is absolutely beyond me :(. Am I correct in interperating your post: If I reinstall using the "alternative build" I will be able to install with no issues?

NB During previous installation I was not met with a message telling me that another operating system had been found and that grub was to be installed.

Many thanks in advance for your help

darkod
February 17th, 2010, 05:58 PM
Thanks for getting back so quickly on this issue unfortunatley that link is absolutely beyond me :(. Am I correct in interperating your post: If I reinstall using the "alternative build" I will be able to install with no issues?

NB During previous installation I was not met with a message telling me that another operating system had been found and that grub was to be installed.

Many thanks in advance for your help

Well, raid installs, especially fakeraid have been known to create issues during install but in theory using the Alternate CD is all you need. Just be warned that it has a text based installer, not GUI based. Something like XP with those blue screens and text on them.

If you want to try one more time, this link is taking you straight to Live CD section:
https://help.ubuntu.com/community/FakeRaidHowto#Live%20CD%20Installation%20%28Ubiqui ty%20graphical%20installer%29

Do the step 5 and write down the name of your array. Then continue with step 9 and you should be good. It will also be practice for you if you ever need to reinstall grub.

You can always start fresh with the Alternate CD. As you wish. :)

twopenny
February 17th, 2010, 06:10 PM
Okay, I think I'll give that a read, and if not try the alt install.

I'll post back here to let all know what the status is with my fakeraid install (I'm using ICH10 by intel).

Many thanks again