LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-11-2006, 04:02 PM   #1
mbquartnut
Member
 
Registered: Oct 2005
Location: Chicago area
Distribution: Ubuntu
Posts: 33

Rep: Reputation: Disabled
can't boot, grub problems.


Hey everyone

I just installed Ubuntu and once it rebooted I got this screen.

Booting ‘ubtuntu, kernel 2.6.15-23-386’

Root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
Kernel /vmlinuz-2.16.15-23-386 root=/dev/i2o/hda4 ro quiet splash
[Linux-bzImage, setup=0x1c00, size=0x15774d]
Initrd initrd.img-2.6.15-23-386
[Linux-initrd@0x1f86c000, 0x67384 bytes]
Savedefault
Boot
Uncompressing Linux… Ok, booting the kernel
ALERT1 /dev/i2o/hda4 does not exist. Dropping to a shell!

BusyBox v1.01 (Debian 1:1.01-4ubuntu3) Built-in Shell (ash)
Enter ’help’ for a list of build-in commands.

/bin/sh: can’t access tty: job control turned off
#

For some reason grub is looking at my scsi raid as /dev/i2o/hda4 but during the install it saw it as sdb.

Because I am running scsi raid I wanted to run XFS, but I know GRUB and XFS do not get along to well, so during the partitioning I created a small partition for just /boot, and formatted it as EXT3. I then created 768 for swap and did the rest of the drive for XFS (the very beginning of my drive is NTFS for windows XP, grub boots that just fine.

I grabbed my knoppix disk and checked qtparted and saw that for some reason the NTFS partition is active.

Which leads me to this question

which partition needs to be set as active:

/boot or /

thanks


MBQuartnut
 
Old 06-12-2006, 08:59 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I think you already posted this somewhere else.. (A no-no)

I don't think Linux is concerned with active partitions.

Using Knoppix, do fdisk -l and post the output. We need to see what all the partitions are.

Try putting the correct partition info for Ubuntu into /boot/grub/menu.lst
 
Old 06-12-2006, 11:45 AM   #3
mbquartnut
Member
 
Registered: Oct 2005
Location: Chicago area
Distribution: Ubuntu
Posts: 33

Original Poster
Rep: Reputation: Disabled
fdisk -l

I ran the fdisk -l and here is the output:

Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 20022 160826683+ 7 HPFS/NTFS

Disk /dev/sdb: 73.4 GB, 73407660032 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sdb2 6375 6405 249007+ 83 Linux
/dev/sdb3 6406 6498 747022+ 82 Linux swap / Solaris
/dev/sdb4 6499 8924 19486845 83 Linux

thanks again everyone


MBQuartnut
 
Old 06-12-2006, 12:44 PM   #4
mbquartnut
Member
 
Registered: Oct 2005
Location: Chicago area
Distribution: Ubuntu
Posts: 33

Original Poster
Rep: Reputation: Disabled
Alright this is new:

When I install Ubuntu I did not have my sata drive in, but When I have my sata disk plugged in Grub will only boot into windows. It freezes if I a choose any of the linux options (I gave it plenty of time, at least 15-20 minutes) I tried the press numlock and the light didn't come on, I pulled the sata hard drive because grub couldn't write to the MBR if it was installed. Is there anyone to manual write LILO? Where would I start?

Thanks


MBQuartnut
 
Old 06-12-2006, 03:19 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
There is nothing in the fdisk output that tells us that we are using raid---except the sda, sdb IDs. What happens if you modify the grub config file (/boot/grub/menu.lst) to point to the Linux partition the same way that fdisk is seeing it?

ie change from this:
Root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
Kernel /vmlinuz-2.16.15-23-386 root=/dev/i2o/hda4 ro quiet splash

To this:
Root (hd1,1)
Filesystem type is ext2fs, partition type 0x83
Kernel /vmlinuz-2.16.15-23-386 root=/dev/sdb2 ro quiet splash

In these lines, you'll note that grubspeak for drive and partition #s start at 0--everywhere else, they start at "a" or "1"

Regardless of this suggestion, don't confuse the issue by bringing in your SATA drive, lilo, etc.

Last edited by pixellany; 06-12-2006 at 03:21 PM.
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
Grub Boot Loader Problems tylerjroach Linux - Newbie 7 01-03-2006 02:54 AM
Boot problems with LILO and GRUB felixc Linux - Newbie 31 07-08-2005 11:08 AM
GRUB Problems - Can't Boot into OS RasutoIbuki Linux - Newbie 2 03-27-2005 03:26 PM
grub and cdrom boot problems akempo Linux - General 2 01-29-2005 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 PM.

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
Open Source Consulting | Domain Registration