Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I just installed Gentoo and rebooted and....
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Apewall
Apprentice
Apprentice


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 6:58 am    Post subject: Reply with quote

So does it boot properly now?
_________________
Posting for dummies
Back to top
View user's profile Send private message
Xephonic
n00b
n00b


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 6:59 am    Post subject: Reply with quote

Apewall wrote:
So does it boot properly now?


nope
Back to top
View user's profile Send private message
Apewall
Apprentice
Apprentice


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:00 am    Post subject: Reply with quote

ok then, handover what your fstab file says :)
_________________
Posting for dummies
Back to top
View user's profile Send private message
Xephonic
n00b
n00b


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:05 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:09 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:12 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:22 am    Post subject: Reply with quote

excuse my file mistake. check your device.map
_________________
Posting for dummies
Back to top
View user's profile Send private message
Xephonic
n00b
n00b


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:27 am    Post subject: Reply with quote

Apewall wrote:
excuse my file mistake. check your device.map


it says
(fd0) /dev/fd0
(hd0) /dev/hd0


and thats it
Back to top
View user's profile Send private message
Apewall
Apprentice
Apprentice


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:31 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:33 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:35 am    Post subject: Reply with quote

>> Does it hang after you press the key to load Gentoo or does it give a grub Error?
_________________
Posting for dummies
Back to top
View user's profile Send private message
Xephonic
n00b
n00b


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:36 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 248
Location: USA

PostPosted: Sat May 28, 2005 7:39 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sat May 28, 2005 7:39 am    Post subject: Reply with quote

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


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sat May 28, 2005 7:44 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sun May 29, 2005 3:30 am    Post subject: Reply with quote

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


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun May 29, 2005 4:03 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sun May 29, 2005 5:26 am    Post subject: Reply with quote

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


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun May 29, 2005 6:02 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sun May 29, 2005 6:19 am    Post subject: Reply with quote

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


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun May 29, 2005 6:53 am    Post subject: Reply with quote

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


Joined: 28 May 2005
Posts: 66

PostPosted: Sun May 29, 2005 6:55 am    Post subject: Reply with quote

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


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun May 29, 2005 7:00 am    Post subject: Reply with quote

Are you logged in as root?
Back to top
View user's profile Send private message
Xephonic
n00b
n00b


Joined: 28 May 2005
Posts: 66

PostPosted: Sun May 29, 2005 7:00 am    Post subject: Reply with quote

overkll wrote:
Are you logged in as root?

i need to chroot in?
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun May 29, 2005 7:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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