Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub.conf(knoppix)[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 7:42 am    Post subject: grub.conf(knoppix)[Solved] Reply with quote

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
View user's profile Send private message
Telexen
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 189

PostPosted: Fri Aug 03, 2007 7:50 am    Post subject: Reply with quote

as root...

Code:

mkdir /mnt/gentooboot
mount /dev/hda1 /mnt/gentooboot
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Aug 03, 2007 7:55 am    Post subject: Reply with quote

Try `mount -t auto /dev/hda1 /mnt/gentooboot` instead.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 7:57 am    Post subject: Reply with quote

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
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Aug 03, 2007 8:31 am    Post subject: Reply with quote

Once you have mounted it, run `nano -w /mnt/gentooboot/grub/grub.conf`
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
kleinerfreak
n00b
n00b


Joined: 28 Jan 2005
Posts: 33
Location: Hessen/Germany

PostPosted: Fri Aug 03, 2007 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
kleinerfreak
n00b
n00b


Joined: 28 Jan 2005
Posts: 33
Location: Hessen/Germany

PostPosted: Fri Aug 03, 2007 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 10:11 am    Post subject: Reply with quote

Ya I recompiled it I'll let you know in a min and I checked /boot says bzImage is in their.
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 1:04 pm    Post subject: Reply with quote

yay solved: http://forums.gentoo.org/viewtopic-p-4169648.html#4169648
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum