PDA

View Full Version : [SOLVED] 8.04 LTS 64-bit installation hangs upon completion



bgarisn
November 18th, 2009, 06:03 PM
Hello all,

I'm quite new to Linux, but really excited that I can start using it at the workplace. However, I've been trying unsuccessfully for the better part of a day to get Ubuntu 8.04 LTS version to install on my computer that is currently running 64-bit Vista. I need this version because I am working a project that involves CUDA (http://www.nvidia.com/object/cuda_learn.html) and needs a 64-bit environment.

I had some problems with the initial install. I had to replace the quiet splash -- option with all_generic_ide (as per the suggestion in this thread (https://answers.launchpad.net/ubuntu/+question/21058))

After I changed this option, I was able to follow the Installation Guide (https://help.ubuntu.com/community/GraphicalInstall) and I get all the way to the final step where it says "Installation Complete! - Restart Now?"

Then the install disk is ejected, and it says to remove the disk (if any) from the tray and press ENTER. I do this and it seems like a command prompt line is displayed, but nothing happens. No restart. No nothing. I've waited for almost 30min to see if it just needed time to get things organized. So I manually rebooted the machine. I can get it to boot Vista 64-bit fine through GRUB, but when I try to load the Ubuntu install, I get the following message:



Loading, please wait...
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev
ALERT! /dev/disk/by-uuid/<long string of letters and numbers> does not exist.
Dropping to shell!

BusyBox v.1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
enter 'help' for a list of built-in commands.

(initramfs)
I've read that the ALERT message is because it is trying to look for root on <long string of letters and numbers> and it isn't there (a way to resolve (http://www.linuxquestions.org/questions/ubuntu-63/dropped-into-busybox-shell-after-modifying-install-597774/#post2954567)). I've tried this resolution of setting the root= setting in GRUB, but then I just get:



BusyBox v.1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
enter 'help' for a list of built-in commands.

(initramfs)
No log in screen :(

If anyone has any insight into this, I would be most appreciative. Thanks for any and all assistance.

bgarisn
November 18th, 2009, 07:43 PM
I used the Boot Info Script (http://ubuntuforums.org/showthread.php?t=1291280) and this is my results:



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

=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdc
=> Windows is installed in the MBR of /dev/sdd

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sdb1: __________________________________________________ _______________________

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

sdc1: __________________________________________________ _______________________

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

sdd1: __________________________________________________ _______________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

=========================== 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: 0x000d7a66

Partition Boot Start End Size Id System

/dev/sda1 * 63 937,167,839 937,167,777 83 Linux
/dev/sda2 937,167,840 976,768,064 39,600,225 5 Extended
/dev/sda5 937,167,903 976,768,064 39,600,162 82 Linux swap / Solaris


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0f68a3f7

Partition Boot Start End Size Id System

/dev/sdb1 63 2,930,272,064 2,930,272,002 7 HPFS/NTFS


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x37ea37ea

Partition Boot Start End Size Id System

/dev/sdc1 * 63 312,560,639 312,560,577 7 HPFS/NTFS


Drive: sdd ___________________ __________________________________________________ ___

Disk /dev/sdd: 2038 MB, 2038431744 bytes
251 heads, 62 sectors/track, 255 cylinders, total 3981312 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc3072e18

Partition Boot Start End Size Id System

/dev/sdd1 * 64 3,981,311 3,981,248 c W95 FAT32 (LBA)


blkid -c /dev/null: __________________________________________________ __________

/dev/sda1: UUID="d27403d5-4a23-4390-9e23-05bb9c0271cd" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="9950734c-d1ed-43a5-8d68-200d558f4663"
/dev/sdb1: UUID="B01E9CD61E9C9746" TYPE="ntfs"
/dev/sdc1: UUID="0A48259348257F17" LABEL="STK-Communal System Disk I" TYPE="ntfs"
/dev/loop0: TYPE="squashfs"
/dev/sdd1: LABEL="BRG_2GB" UUID="3B62-B260" TYPE="vfat"

=============================== "mount" output: ===============================

proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /lib/modules/2.6.24-24-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/modules/2.6.24-24-generic/volatile type tmpfs (rw,mode=0755)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sdd1 on /media/BRG_2GB type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=9 99,utf8,umask=077,flush)


=========================== sda1/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=UUID=d27403d5-4a23-4390-9e23-05bb9c0271cd ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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

## 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 8.04.3 LTS, kernel 2.6.24-24-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=d27403d5-4a23-4390-9e23-05bb9c0271cd ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet

title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=d27403d5-4a23-4390-9e23-05bb9c0271cd ro single
initrd /boot/initrd.img-2.6.24-24-generic

title Ubuntu 8.04.3 LTS, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### 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/sdc1
title Windows Vista/Longhorn (loader)
root (hd2,0)
savedefault
makeactive
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1


=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=d27403d5-4a23-4390-9e23-05bb9c0271cd / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=9950734c-d1ed-43a5-8d68-200d558f4663 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

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


250.6GB: boot/grub/menu.lst
250.6GB: boot/grub/stage2
250.6GB: boot/initrd.img-2.6.24-24-generic
250.6GB: boot/vmlinuz-2.6.24-24-generic
250.6GB: initrd.img
250.6GB: vmlinuz

================================ sdc1/boot.ini: ================================

;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[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
/dev/sda is the correct hard drive that I want to install Ubuntu onto (500 GB), while the others I want to keep my windows os's.

Does anything in this look blaringly wrong to those of you who have much more experience than I do?

Thanks again for any and all help.

hal10000
November 19th, 2009, 06:50 AM
You should do the following steps:

1.) Boot from a live-cd (ubuntu, knoppix or similar)

2.) Mount your ubuntu system partition:
open a terminal window an perform:

sudo mount -text3 /dev/sda1 /mnt

3.) chroot into the previously mounted partition:

sudo chroot /mnt /bin/bash

4.) Edit your /boot/grub/menu.lst file as root:

sudo nano -w /boot/grub/menu.lst
and find this part:


title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=d27403d5-4a23-4390-9e23-05bb9c0271cd ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet

you have to change the line starting with kernel to look like this:


kernel /boot/vmlinuz-2.6.24-24-generic root=/dev/sda1 ro quiet splash

Save the file with [CTRL]+O
Exit the editor with [CTRL]+X

5.) Exit the chroot environment:

exit

6.)unmount your ubuntu system partition:

sudo umount /mnt

7.) Reboot and remove your live-cd

8.) Boot ubuntu

9.) Have fun

bgarisn
November 19th, 2009, 03:18 PM
I'm going to mark this as solved, because as of late last night, I've been able to get it installed on my system. After many attempts at installing from scratch, I found this thread (http://ubuntuforums.org/showthread.php?t=765195) where apparently others were have similar problems to my own.

The solution was to add these options to the command line when installing Ubuntu



all_generic_ide floppy=off irqpoll
Originally I was only using the all_generic_ide option and when the install would complete, it would hang and I would have to manually restart the computer.


@hal10000,

Thanks for your reply. I'll definitely try that if I have any more trouble. And will definitely keep this procedure to help others if they have similar problems.

Thanks again :)