LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't boot, grub problems. (https://www.linuxquestions.org/questions/linux-newbie-8/cant-boot-grub-problems-453785/)

mbquartnut 06-11-2006 04:02 PM

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

pixellany 06-12-2006 08:59 AM

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

mbquartnut 06-12-2006 11:45 AM

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

mbquartnut 06-12-2006 12:44 PM

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

pixellany 06-12-2006 03:19 PM

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.


All times are GMT -5. The time now is 05:18 AM.