View previous topic :: View next topic |
Author |
Message |
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 6:58 am Post subject: |
|
|
So does it boot properly now? _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 6:59 am Post subject: |
|
|
Apewall wrote: | So does it boot properly now? |
nope |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:00 am Post subject: |
|
|
ok then, handover what your fstab file says _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:05 am Post subject: |
|
|
Apewall wrote: | ok then, handover what your fstab file says |
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
/dev/hda4 /files ext3 noatime 0 2
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:09 am Post subject: |
|
|
so your /boot is on an ext2 and the swap and the rest of the drive are ext3?
my only suggestion would be to check that the "device.map" file leads correctly to the /boot partition for you grub. _________________ Posting for dummies
Last edited by Apewall on Sat May 28, 2005 7:21 am; edited 1 time in total |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:12 am Post subject: |
|
|
Apewall wrote: | so your /boot is on an ext2 and the swap and the rest of the drive are ext3?
my only suggestion would be to check that the system.map file leads correctly to the /boot partition for you grub. |
yes.
how would i check that?
i see 2 system map files one ending in -k8 and the other in -em64t |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:22 am Post subject: |
|
|
excuse my file mistake. check your device.map _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:27 am Post subject: |
|
|
Apewall wrote: | excuse my file mistake. check your device.map |
it says
(fd0) /dev/fd0
(hd0) /dev/hd0
and thats it |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:31 am Post subject: |
|
|
kernel-2.6.11-gentoo-r3 is the kernel you are using, and you had no problems configuring and installing it, or did you use genkernel? _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:33 am Post subject: |
|
|
Apewall wrote: | kernel-2.6.11-gentoo-r3 is the kernel you are using, and you had no problems configuring and installing it, or did you use genkernel? |
i used the r3 and had no issues |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:35 am Post subject: |
|
|
>> Does it hang after you press the key to load Gentoo or does it give a grub Error? _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:36 am Post subject: |
|
|
Apewall wrote: | >> Does it hang after you press the key to load Gentoo or does it give a grub Error? |
When i press to load gentoo the screen flashes for a second and then nothing happens |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:39 am Post subject: |
|
|
try re-emerging grub and redoing the install once again.
If grub fails it should be giving you an error message, otherwise its your Gentoo install that went awry sometime during your installation. _________________ Posting for dummies |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sat May 28, 2005 7:39 am Post subject: |
|
|
Apewall wrote: | try re-emerging grub and redoing the install once again.
If grub fails it should be giving you an error message, otherwise its your Gentoo install that went awry sometime during your installation. |
So id have to start all over...?
*sigh*
Thanks for the help ^_^ |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sat May 28, 2005 7:44 am Post subject: |
|
|
We can try and get it going from the grub command line like we started. Last effort? I'm willing if you are. |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sun May 29, 2005 3:30 am Post subject: |
|
|
overkll wrote: | We can try and get it going from the grub command line like we started. Last effort? I'm willing if you are. |
I'd be willing to try anythin at this point |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 29, 2005 4:03 am Post subject: |
|
|
Alright. Reboot. In GRUB, select your Linux line and hit "e". Then you want to add a kernel line if it isn't there. I don't remember which key it is, maybe "o". There should be a key legend at the bottom of the screen. If there is an kernel line select it and hit "e".
Start typing: "kernel (hd0,0)/boot/kernel" then press tab. Your options should appear. Anything there? |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sun May 29, 2005 5:26 am Post subject: |
|
|
overkll wrote: | Alright. Reboot. In GRUB, select your Linux line and hit "e". Then you want to add a kernel line if it isn't there. I don't remember which key it is, maybe "o". There should be a key legend at the bottom of the screen. If there is an kernel line select it and hit "e".
Start typing: "kernel (hd0,0)/boot/kernel" then press tab. Your options should appear. Anything there? |
nop
my friend did help me discover interesting though. Whenever i chroot, the boot directly lacks systemmap and kernel. only when im out of chroot do i see the files |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 29, 2005 6:02 am Post subject: |
|
|
OK. Reboot with the install disk and mount your root partion.
Code: | mount /dev/hda3 /mnt/gentoo |
Then list the contents of boot:
Code: | ls -l /mnt/gentoo/boot/ |
Post the complete output of this command or I can't help.
Then mount your boot partition:
Code: | mount /dev/hda1 /mnt/gentoo/boot |
Do the same ls command
Code: | ls -l /mnt/gentoo/boot/ |
Post the exact results of this as well. |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sun May 29, 2005 6:19 am Post subject: |
|
|
overkll wrote: | OK. Reboot with the install disk and mount your root partion.
Code: | mount /dev/hda3 /mnt/gentoo |
Then list the contents of boot:
Code: | ls -l /mnt/gentoo/boot/ |
Post the complete output of this command or I can't help.
Then mount your boot partition:
Code: | mount /dev/hda1 /mnt/gentoo/boot |
Do the same ls command
Code: | ls -l /mnt/gentoo/boot/ |
Post the exact results of this as well. |
ls -l /mnt/gentoo/boot
says:
total 0
if i just do a normal ls in boot folder i get:
System.map-2.6.11-gentoo-r2-em64t
System.map-2.6.11-gentoo-r2-k8
boot
initrd-2.6.11-gentoo-r2-k8
kernel.map-2.6.11-gentoo-r2-k8
kernel.map-2.6.11-gentoo-r2-em64t
after mounting boot i get:
lrwxrwxrwx 1 root root 1 DATE boot->.
drwxr-xr-x 2 root root 1024 DATE grub
drwx------- 2 root root 12200 DATE lost+found
doing an ls in /mnt/gentoo/boot
just gives me boot grub and lost+found |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 29, 2005 6:53 am Post subject: |
|
|
Finally, I think we found the problem. Look like you put your kernel stuff in the boot mount point instead of in the boot partition! Unmount boot and move everything but the boot symlink to /tmp directory (folder as you call it)
Code: | mv /boot/System* /tmp/
mv /boot/kernel* /tmp/
mv /boot/initrd* /tmp/ |
Then mount boot and move it to the boot PARTITION
Code: | mv /tmp/System* /boot/
mv /tmp/kernel* /boot/
mv /tmp/initrd* /boot/ |
Edit your /boot/grub/grub.conf file to match the kernel you want to boot.
Reboot and give it a shot. |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sun May 29, 2005 6:55 am Post subject: |
|
|
overkll wrote: | Finally, I think we found the problem. Look like you put your kernel stuff in the boot mount point instead of in the boot partition! Unmount boot and move everything but the boot symlink to /tmp directory (folder as you call it)
Code: | mv /boot/System* /tmp/
mv /boot/kernel* /tmp/
mv /boot/initrd* /tmp/ |
Then mount boot and move it to the boot PARTITION
Code: | mv /tmp/System* /boot/
mv /tmp/kernel* /boot/
mv /tmp/initrd* /boot/ |
Edit your /boot/grub/grub.conf file to match the kernel you want to boot.
Reboot and give it a shot. |
it couldnt move systemmap because it is read-only file |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 29, 2005 7:00 am Post subject: |
|
|
Are you logged in as root? |
|
Back to top |
|
|
Xephonic n00b
Joined: 28 May 2005 Posts: 66
|
Posted: Sun May 29, 2005 7:00 am Post subject: |
|
|
overkll wrote: | Are you logged in as root? |
i need to chroot in? |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 29, 2005 7:07 am Post subject: |
|
|
Well, if its not letting you move the file, you can try chrooting. But you will have to do it with boot unmounted so you can access the files. Then you'll have to exit the chroot, mount boot, and mv the files back. |
|
Back to top |
|
|
|