LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2010, 09:24 AM   #1
Jbaway
LQ Newbie
 
Registered: Feb 2010
Location: Us Oregon
Distribution: ubuntu 9.1
Posts: 3

Rep: Reputation: 0
unable to boot ubnutu 9.1


I'm new to Linux, other than windows.I've tried OpenSuze. Do to limited user knowledge on my part I opted to use Ubuntu after talking to other users of Ubuntu. Now out of 3 window OS's & 3 Linux distros I can only run Ubuntu live CD and install Ubuntu 9.1 (but not boot from).I was originality attempting a Dual boot with Vista but have aborted that cause.
Ubuntu hangs at a flashing courser after the system boots. I have not seen how Ubuntu boot manager is suppose to look like other than this blue screen and from the live CD.
I have installed, reinstalled using both default and user partitioning.
The disk utility and gpart both confirm the MBR is in the partition table. To take it a step futher I was able to down load a script from Sorceforge confirming the MBR is installed.I've also ran the Segate "Tools For Dos" being the drives are Seagate, it hangs at start up displaying an error code Invalid Opcode. This code also appears on the other drive I've attempted to try to use as boot drive.I now have two drive that I'm unable to boot an OS from the present 500G and 1TB (1TB presently is disconnected). Here is the boot "Inf Script Summary" of my present installation attempt. Just a thought, in viewing an other post a usb drive was going to be Zero written,using code,would this be a way for me to correct my issues from the live CD, if so I would need some coaching.

I've managed to generate good size bag of worms!


Boot Info Script 0.55 dated February 15th, 2010

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

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

sda1: _________________________________________________________________________

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

sda2: _________________________________________________________________________

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

sda5: _________________________________________________________________________

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: 0x00057d93

Partition Boot Start End Size Id System

/dev/sda1 * 63 952,991,864 952,991,802 83 Linux
/dev/sda2 952,991,865 976,768,064 23,776,200 5 Extended
/dev/sda5 952,991,928 976,768,064 23,776,137 82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 c5d396e2-783e-40ab-a3e3-a937f3445bed ext4
/dev/sda5 bd4a1480-dc6c-46e5-8cf9-201edfea4eba swap

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

Device Mount_Point Type Options

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


=========================== sda1/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,1)
search --no-floppy --fs-uuid --set c5d396e2-783e-40ab-a3e3-a937f3445bed
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,1)
search --no-floppy --fs-uuid --set c5d396e2-783e-40ab-a3e3-a937f3445bed
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c5d396e2-783e-40ab-a3e3-a937f3445bed 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,1)
search --no-floppy --fs-uuid --set c5d396e2-783e-40ab-a3e3-a937f3445bed
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c5d396e2-783e-40ab-a3e3-a937f3445bed 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 ###

=============================== sda1/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/sda1 during installation
UUID=c5d396e2-783e-40ab-a3e3-a937f3445bed / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=bd4a1480-dc6c-46e5-8cf9-201edfea4eba 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

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


.7GB: boot/grub/core.img
.7GB: boot/grub/grub.cfg
.7GB: boot/initrd.img-2.6.31-14-generic
.6GB: boot/vmlinuz-2.6.31-14-generic
.7GB: initrd.img
.6GB: vmlinuz

Last edited by Jbaway; 02-22-2010 at 10:40 AM. Reason: spelling
 
Old 02-22-2010, 10:46 AM   #2
Jeeper98
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Rep: Reputation: 16
GRUB

Well it appears the GRUB installation did not turn out that great. See if by using LILO it will boot otherwise attempt to reinstall GRUB. I had this problem and I just wiped Linux and did a fresh installation:C. I hope you dont need to format and re install good luck.
 
Old 02-22-2010, 02:31 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Firstly, many thanks for providing the right sort of useful information. (Unusual for a first-post).

So, a very warm welcome to LQ!

The 'buntu 9.10s offer an ext4 filesystem, which you have chosen for your boot partition on /dev/sda1. Understandable, as it was offered, but I'm staying with ext3 for now.

AFIK grub2 (Well, 1.97, if you are going to be picky) is the only bootloader that will boot an ext4 filesystem at the moment. That's why 9.10 uses grub2 which is particular, fussy and still buggy .
lilo will not boot ext4

Looking at your grub.cfg I notice this
insmod ext2
When I think it needs to say
insmod ext4

You are not supposed to edit grub.cfg, but it's worth a try at this stage as it could
take us weeks to debug grub2 and meanwhile you cannot boot a nice OS. So...

Boot from a live 'buntu 9.10 CD
Open a terminal and
Mount your /root/boot partition somewhere:
Code:
# Make a mountpoint
sudo  mkdir  /x
# Then mount the partition at the mountpoint
sudo  mount  -t  ext4  /dev/sda1  /x
# Make a backup of the original file
sudo  cp /x/boot/grub/grub.cfg  /x/boot/grub/grub.cfg.orig
# Make grub.cfg writeable (it isn't, it's a "developers know what they are doing" joke, I think)
sudo  chmod  +w  /x/boot/grub/grub.cfg
# Edit the file with nano
sudo  nano  /x/boot/grub/grub.cfg
DownArrow to this bit
Code:
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,1)
change the ext2 to ext4
Change it for the "Recovery mode" entry as well, whilst you are at it.

Save the file (There's a menu to help you, but it's CTRL-O RETURN CTRL-X)

Unmount the root partition
Code:
cd
umount /x
Reboot.

Any better?

[No need to email me, I am auto-notified about further posts to this thread, and will respond when I am able.]

Last edited by tredegar; 02-22-2010 at 02:33 PM.
 
1 members found this post helpful.
Old 02-24-2010, 03:30 PM   #4
Jbaway
LQ Newbie
 
Registered: Feb 2010
Location: Us Oregon
Distribution: ubuntu 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
Tredegar
Viewed your reply,I've got some home work to do before moving on (New Waters)...don't need to be Wasting your time, also new work week at the salt mine... will be able to invest more time the up coming weekend.Looking forward to getting this resolved... it was getting close to a gravity check!

Thank You
Jbaway
 
Old 02-24-2010, 05:23 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
.. will be able to invest more time the up coming weekend.
Thanks for your follow-up post.
I completely understand.

You are not wasting anyone's time here. If you ask sensible questions, and provide
relevant information to help us to help you (and you have done this), you'll find you will receive
a lot of useful advice from LQ.

Please follow up with a post here with what you have tried, when you are ready and have the time, and we'll do our best to help you further.

Happy digging in the salt mine
 
Old 03-05-2010, 10:26 PM   #6
Jbaway
LQ Newbie
 
Registered: Feb 2010
Location: Us Oregon
Distribution: ubuntu 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
Tredegar

Good new and Bad news. The Good, found the cause of the problem.... the hard drive is the issue, last weekend i purchased a new drive and on a whim installed Ubuntu on it with out a hitch. The bad, out a hard drive, and sound issues...attempting to research a solution. I have sound on the logtech usb head phones (works with skype,CD media and streaming off the internet).Here is the instaled sound card on an Asus P5Q-E mother board. I'm in route to the sound section. I still will do my home work so as to learn how to do the task you requested for the previous issues.


Thank you very much for your time.
Jbaway

card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Last edited by Jbaway; 03-05-2010 at 10:34 PM. Reason: spelling
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 10:05 AM
unable to boot linux in dual boot system ashraflinux1@gmail.com Linux - Server 1 11-18-2009 12:02 AM
Net Connection (Mobile Broadband) Problem in Ubnutu 9.04 alamgir Linux - Newbie 5 06-24-2009 12:57 AM
Unable To Boot To Fedora When Grub Installed in /boot Partition FedoraNewbie Linux - Newbie 4 09-26-2006 04:46 AM
filesystem error unable to boot, how to restore the boot nesargha Linux - Hardware 6 06-14-2006 03:29 AM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration