View previous topic :: View next topic |
Author |
Message |
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 11:00 am Post subject: Re: Mounting /boot |
|
|
Death Barrel wrote: | what do you think>? |
That you should have copied all the relevant bits from the thread you mention and try to ask an actual question on this new thread.
I have no idea what you want to know, and no desire to wade through two pages of previous posts to find out.
If you think I'm being harsh - any "can't mount /dev/something" questions can usually be answered in about 3 lines.
But then again - I have no idea if that is your question. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 2:44 pm Post subject: |
|
|
sorry man, it was sorta intended for another guy who was helping me...i apoligize for that...
well the problem is sorta long that is why i linked you to it.... i guess to make a long story short:
i recompiled my kernel manually cause genkernel suckes (so i am told) when i was done i tried to mount /boot to copy over the kernel to /boot..and i got this error:
#mount /boot
mount: special device /dev/hda1 does not exist
thx,
DB |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 2:49 pm Post subject: |
|
|
Well - does it ?
to check _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 3:13 pm Post subject: |
|
|
yes....it says it exists >>>
device boot start end blocks id system
/dev/hda1 * 1 5 40131 83 linux
/dev/hda2 6 68 506047+ 82 linux swap
/dev/hda3 69 4865 38531902+ 82 linux
thx
DB |
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 3:27 pm Post subject: |
|
|
DB, generally, you should keep each request to a specific thread. That other one was getting really long, and had seriously drifted from the original problem, so I was going to suggest you spawn another thread anyway. From now on, let's keep the discussion related to your boot problems in this thread.
Onward. Next step is, let's have a peek at your fstab, and the output of Code: | grep -i ext2 /usr/src/linux/.config |
_________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 3:55 pm Post subject: |
|
|
ok when i did the fdisk -l /dev/hda.... i was not chrooted in
i did it again when i was chrooted in and got nothing....
i am now chrooted in and i did the grep -i ext2 /usr/src/linux/.config
Code: | #grep -i ext2 /usr/src/linux/.config
CONFIG_EXT2_FS=y |
|
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 4:09 pm Post subject: |
|
|
Oh. Well that should be easy enough to fix. When you are not chrooted, type Code: | # mount /dev/hda1 /mnt/gentoo/boot |
Then chroot back in, copy the kernel over to /boot, update grub.conf if you have to and reboot. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 4:39 pm Post subject: |
|
|
ok when i go to update grub i type this:
Code: | grub> root (hd0,0)
Error 21: Selected disk does not exist |
the instructions say i can type:
grub> root (hd)(TAB)
and it is supposed to display choices, but i get this instead:
Code: | grub> root (hd) TAB
Error: Error while parsing number |
any clue? |
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 4:51 pm Post subject: |
|
|
leave the parens open Code: | grub> root (hd<tab> |
_________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 4:53 pm Post subject: |
|
|
Death Barrel wrote: | ok when i did the fdisk -l /dev/hda.... i was not chrooted in
i did it again when i was chrooted in and got nothing.... |
That should not matter really - the partition table is the same whether you're in the chroot or not.
You could indeed mount /boot before entering the chroot, though seriously that doesn't matter either - you can
Code: | mount /dev/hda1 /boot |
from within the chroot as well. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 5:08 pm Post subject: |
|
|
ok: this is what i get:
Code: | grub> root (hd TAB
grub> root (hd
grub>root (hd |
just comes back as the same thing i typed in
adaptr: i exited out of grub for a sec to check that out and this is what i got:
Code: | #mount /dev/hda1 /boot
mount: you must specify a filesystem type |
|
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 5:16 pm Post subject: |
|
|
Don't put a space in before hitting tab. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 5:16 pm Post subject: |
|
|
Death Barrel wrote: | ok: this is what i get:
Code: | grub> root (hd TAB
grub> root (hd
grub>root (hd |
just comes back as the same thing i typed in |
Do not type a space after "hd" - type a TAB immediately!
Death Barrel wrote: | adaptr: i exited out of grub for a sec to check that out and this is what i got:
Code: | #mount /dev/hda1 /boot
mount: you must specify a filesystem type |
|
That means your fstab doesn't contain an entry for /boot.
Just use
Code: | mount /dev/hda1 -t <fstype> /boot |
directly in that case. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 5:26 pm Post subject: |
|
|
ok...
i did not put a space in between there, that is what i get w/o the space
second:
i got out of grub for a sec and tried this:
Code: | #mount /dev/hda1 -t xfs /boot
mount: special device /dev/hda1 does not exist
something i did has to be wrong i just can't figure it out. |
|
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 5:35 pm Post subject: |
|
|
You used XFS for a boot partition?
Why?
But let's not get sidetracked
Since GRUB apparently can't find any hard drive in your system, have you tried running GRUB from the LiveCD, or somewhere else ?
Just type upto the first "(", then see what choices you get.
BTWE considering your other problems you may not have included everything in the kernel that you need.
Double-check filesystem support, DevFS support, etc. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 5:43 pm Post subject: |
|
|
ok i really don't care if it is xfs or ext2 or 3 at this point...lol...i don't mind changing it if need be....
Code: | grub> root (TAB
grub> root ( |
that is what i get
when i did the krenel config i did include fs support...etc, i did what the instructions said.
BTW: thx guys i really appreiciate all the help
DB |
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 5:51 pm Post subject: |
|
|
This is seriously wierd. Let's back up, and give us a step by step account of exaclty what you did do get to this point. ie, I booted the LiveCD, then did mount /dev/hdc3 /mnt/gentoo then ... and so on. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 5:56 pm Post subject: |
|
|
lol, i hope you are not talking about from the beginning.....
ok i booted the live cd then i mounted everything:
Code: | # swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile |
and that is basically where i am now....
i am wondering if i can start ssh? if you guys want you are more than welcome to ssh into the machine....you will just have to help me set up ssh if it makes things easier for you. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Feb 17, 2004 6:23 pm Post subject: |
|
|
Sure, no problem - I wouldn't give out any root accounts, though...
If you PM me an IP and an account I'll give it a try! _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Tue Feb 17, 2004 6:44 pm Post subject: |
|
|
Do please post a followup on what you discover. I'm pretty curious what is going on here. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
Death Barrel n00b
Joined: 12 Feb 2004 Posts: 65
|
Posted: Tue Feb 17, 2004 6:50 pm Post subject: |
|
|
no problem.... adaptar is going to try and ssh into my machine, then maybe we will get somewhere...lol
thx michaelb, for all the help and support
will let you know what happens |
|
Back to top |
|
|
|