You are not logged in.

#1 2006-01-23 14:38:22

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

grub and boot problems (solved)

What should be in hda1 and hda3/boot. I have a simple set and hda1 is boot, hda2 is swap, and hda3 is root. Here is what I have now....

root@4[knoppix]# ls /mnt/hda1
System.map26        initramfs-2.6.15-archck.img  kconfig26archck
System.map26archck  initrd-2.6.15-archck.img     lost+found
boot                initrd26-full.img            vmlinuz26
diag1.img           kconfig26                    vmlinuz26archck
grub                kconfig26.pacsave
root@4[knoppix]# ls /mnt/hda1/boot
grub  initrd26-full.img  initrd26.img
root@4[knoppix]# ls /mnt/hda3/boot
grub

I can't boot up currently. If I add /boot before the vmlinuz and initrd in menu.lst I get a busybox message. If I take out the /boot I just get error 15.

Offline

#2 2006-01-23 14:48:11

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: grub and boot problems (solved)

try this ....

title  Arch Linux ArchCk
root   (hd0,1)
kernel /vmlinuz26archck root=/dev/hda3 ro
initrd /initramfs-2.6.15-archck.img


title  Arch Linux 
root   (hd0,1)
kernel /vmlinuz26 root=/dev/hda3 ro
initrd /initrd26-full.img

Offline

#3 2006-01-23 15:03:28

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: grub and boot problems (solved)

If I do this......
root (hd0,1)
kernel /vmlinuz26 root=/dev/hda3 ro
initrd /initrd26-full.img

I get error 17

If I do

root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 ro
initrd /initrd26.img

I get error 15

If I do

root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/hda3 ro
initrd /boot/initrd26.img

I get busy box preceded by umount: /initrd not found

I tried replacing the initrd26 with initrd26-full.img as well.

Offline

#4 2006-01-23 15:23:44

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: grub and boot problems (solved)

ok you have boot on a seperate partition so you do not need /boot in your lines.
I know this is a cross post you  as you have been at this a while...
you moved stuff around manually it is gonna error

boot from the install disk or another live disk and reinstall grub

also create the folder /initrd in the root filesystem

Offline

#5 2006-01-23 15:31:09

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: grub and boot problems (solved)

also create the folder /initrd in the root filesystem.

Should I do this before I reinstall grub? That is remove grub, create directory hda3/initrd, and reinstall grub.

Errors. Would it be best to remove everything from hda1, except lost and found, and hda3 boot after I use pacman to remove grub?

Offline

#6 2006-01-23 15:31:26

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: grub and boot problems (solved)

first note that (hd0,1) is your swap disk, so it makes no sense of using this either way.

An error 15 is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
An error 17 is returned if it can not mount a given partition (e.g. a swap partition).

Anyway, try the following:

root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda3 ro
initrd /boot/initrd26.img

Offline

#7 2006-01-23 17:34:21

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: grub and boot problems (solved)

If I do that I get I get busy box preceded by umount: /initrd not found.

Offline

#8 2006-01-23 17:42:07

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: grub and boot problems (solved)

apropos

I know this is a cross post you as you have been at this a while...

I thought that my problems are now due to Grub so that the original thread should be just about Grub. Maybe I should have continued on with the old thread but anyhow this was my reasoning.

Offline

#9 2006-01-23 17:43:29

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: grub and boot problems (solved)

last option I can think of is

root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda3 ro
initrd /initrd26.img

and then you'll have all options tried as far as I can see.

Perhaps people using a boot partition who can tell the correct grub entries (myself not using a /boot partition)???

Offline

#10 2006-01-23 18:39:02

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: grub and boot problems (solved)

i didn't have the directory /initrd in hda3. Adding that directory solved my problems.

Offline

Board footer

Powered by FluxBB