Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird boot messages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
oDy
n00b
n00b


Joined: 05 Dec 2004
Posts: 72
Location: Thessaloniki - Greece

PostPosted: Sun Dec 05, 2004 3:45 pm    Post subject: weird boot messages Reply with quote

Hello i just did a stage3 installation and after many failed installations I was finally able to boot into my system. I used genkernel to compile my kernel
and grub as a boot manager. I edited grub.conf as the installation guide
suggested but when the system booted I got some errors and it didn't boot to the correct root directory. I edited grub.conf like this:
Code:

default 0
timeout 30
splashimage=(hd0,2)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.25
root (hd0,2)
kernel /kernel-2.4.25-gentoo-r1 root=/dev/hda6 vga=794
initrd /initrd-2.4.25-gentoo-r1

title=Windows XP
root (hd0,0)
chainloader +1


and finally I was able to boot to my system.
The problem is I was still getting the same errors during boot and they look like this (I got this from dmesg):

Code:

RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1936k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
attempt to access beyond end of device
01:00: rw=0, want=4171, limit=4096
attempt to access beyond end of device
01:00: rw=0, want=4172, limit=4096
attempt to access beyond end of device
01:00: rw=0, want=4173, limit=4096
attempt to access beyond end of device
01:00: rw=0, want=4174, limit=4096
EXT2-fs warning (device ide0(3,6)): ext2_read_super: mounting ext3 filesystem as ext2

VFS: Mounted root (ext2 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root


also the boot partiton doesn't mount automaticaly even though I have it in my /etc/fstab file which looks like this:

Code:

/dev/hda3      /boot      auto      noauto,noatime      1 2
/dev/hda4      none      swap      sw         0 0
/dev/hda6      /      ext3      noatime         0 1
/dev/hda1      /home/windowsXP auto      defaults      0 0
/dev/hda5      /home/plits   auto       defaults      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   auto      noauto,user      0 0
#/dev/fd0      /mnt/floppy   auto      noauto         0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0
none          /proc/bus/usb   usbfs      defaults      0 0


I search the forum but I couldn't find something helpful so I decided to post.
Anyway sorry for the long post and thanx in advance for any help
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 829
Location: Sweden

PostPosted: Sun Dec 05, 2004 3:57 pm    Post subject: Reply with quote

Hi welcome to Gentoo.

You must use a ramdisk for the init read. you have
Quote:

kernel /kernel-2.4.25-gentoo-r1 root=/dev/hda6 vga=794

it must be
Quote:

kernel /kernel-2.4.25-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8196 real_root=/dev/hda6 vga=794


And about the /boot partition
You have
Quote:
/dev/hda3 /boot auto noauto,noatime 1 2

And it say noauto so it would not get mounted. The auto is for
autosensing the filesystem.

-Kjell
EDIT
P.S. Best is to set the rigt filesystem in the fstab for boot and not
using auto.
Back to top
View user's profile Send private message
oDy
n00b
n00b


Joined: 05 Dec 2004
Posts: 72
Location: Thessaloniki - Greece

PostPosted: Sun Dec 05, 2004 6:30 pm    Post subject: Reply with quote

Thanx a lot. I was missing the ramdisk=8196 option so that's why i didnt boot properly. In the installation guide from the cd i installed ramdisk=8196 wasn't mentioned so that's why i didn't use it.
Thanx again
Back to top
View user's profile Send private message
FoxHunter4460
n00b
n00b


Joined: 06 Dec 2004
Posts: 1

PostPosted: Mon Dec 06, 2004 4:05 am    Post subject: Reply with quote

thanks i was having a similar problem!
_________________
[url=(Link:http://forums.livingwithstyle.com]Detroit Pistons[/url]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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