| View previous topic :: View next topic |
| Author |
Message |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 7:42 am Post subject: grub.conf(knoppix)[Solved] |
|
|
How can I access my /boot(/dev/hda1) dir from knoppix it says its read only but I need to make sure their is no syntax errors in the file, because I can't boot into gentoo with an error 15.
Last edited by paradox6996 on Fri Aug 03, 2007 1:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
Telexen Apprentice

Joined: 09 Oct 2005 Posts: 189
|
Posted: Fri Aug 03, 2007 7:50 am Post subject: |
|
|
as root...
| Code: |
mkdir /mnt/gentooboot
mount /dev/hda1 /mnt/gentooboot
|
|
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 7:54 am Post subject: |
|
|
says I must specify the filesystem type, and doing that in knoppix root didn't do anything but make a file their. I need to mount /dev/hda1 and chroot into it to look at the already made grub.conf
Last edited by paradox6996 on Fri Aug 03, 2007 7:56 am; edited 1 time in total |
|
| Back to top |
|
 |
mark_alec Bodhisattva


Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Aug 03, 2007 7:55 am Post subject: |
|
|
Try `mount -t auto /dev/hda1 /mnt/gentooboot` instead. _________________ www.gentoo.org.au || #gentoo-au |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 7:57 am Post subject: |
|
|
| mark_alec wrote: | | Try `mount -t auto /dev/hda1 /mnt/gentooboot` instead. |
ok how can I look at the grub.conf file on it |
|
| Back to top |
|
 |
mark_alec Bodhisattva


Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Aug 03, 2007 8:31 am Post subject: |
|
|
Once you have mounted it, run `nano -w /mnt/gentooboot/grub/grub.conf` _________________ www.gentoo.org.au || #gentoo-au |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 8:37 am Post subject: |
|
|
| ya my grub.conf is right so I don't understand why I get an error 15 when I try to boot from grub |
|
| Back to top |
|
 |
kleinerfreak n00b

Joined: 28 Jan 2005 Posts: 33 Location: Hessen/Germany
|
Posted: Fri Aug 03, 2007 8:52 am Post subject: |
|
|
| Could you post your grub.conf? It seems like the path to your kernel or grub.conf isn't quite right (for reference see The Gentoo Docs) |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 9:30 am Post subject: |
|
|
| kleinerfreak wrote: | | Could you post your grub.conf? It seems like the path to your kernel or grub.conf isn't quite right (for reference see The Gentoo Docs) |
grub.conf
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.21-r4
root (hd0,0)
kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3
title=Gentoo Linux 2.6.21-r4 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3 init=/bin/bb
edit: I also checked fstab.conf and it is correct too
fstab:
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0 |
|
| Back to top |
|
 |
kleinerfreak n00b

Joined: 28 Jan 2005 Posts: 33 Location: Hessen/Germany
|
Posted: Fri Aug 03, 2007 9:56 am Post subject: |
|
|
| Looks good so far, the only thing I could think of now would be that the kernel in /boot has a different name than the one you put in the grub.conf |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 10:11 am Post subject: |
|
|
| Ya I recompiled it I'll let you know in a min and I checked /boot says bzImage is in their. |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
Posted: Fri Aug 03, 2007 10:19 am Post subject: |
|
|
ok so same error this is what i did:
did make menuconfig
blah blah
make
cp arch blah blah(it was correct)
checked /mnt/boot to make sure image was their it was.
I checked before I rebooted to make sure the kernels matched they did!
So idk...
edit: wanted to add that I checked my grub.conf again to make sure the kernel matchs and in usr/src/linux it says:
linux-2.6.21-gentoo-r4
so is that how it is suppose to be... |
|
| Back to top |
|
 |
paradox6996 l33t


Joined: 01 Aug 2007 Posts: 914 Location: BFE CO
|
|
| Back to top |
|
 |
|