Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with initial boot into gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
sixgauge
n00b
n00b


Joined: 02 Dec 2005
Posts: 4

PostPosted: Sat Dec 03, 2005 5:32 am    Post subject: Need help with initial boot into gentoo Reply with quote

First of all I am a Noob with gentoo. I have installed gentoo using lilo on my machine. Everything went smoothly execept when I tried to boot in my first time. I got the error:
The superblock could not be read or does not describe a correct ext2 file system if the device is valid and it really contains an ext2 file system then the superblock is corrupt, and you might tryp running e2fsck with an alternate superblock. e2fsck -b 8193
----------------------------------------------------------------------------------
my fstab file is as follows:
/dev/BOOT /boot ext2 noAuto,noatime 12
/dev/ROOT / ext2 noatime 01
/dev/SWAP none swap sw 00
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto 00
proc /proc proc defaults 00
shm /dev/shm tmpfs nodev,nosvid,noexe 00
------------------------------------------------------------------------------------

my lilo looked fine as well but I will post it
-----------------------------------------------------------------------------------
boot=/dev/hda
prompt
timeout=50
default=gentoo

image=/boot/kernel-genkernel-x86-2.6.14-r2
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8192 real_root=/dev/hda6 udev"
initrd=/boot/initramfs-genkernel-x86=2.6.14-gentoo-r2

other=/dev/hda1
label=windows
-----------------------------------------------------------------------------------
lilo comes up and boots into windows just fine(by the way dual-boot system if you didn't know)

if anyone could help me I will purchase them a cookie in their name....

thanks again
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


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

PostPosted: Sat Dec 03, 2005 5:43 am    Post subject: Reply with quote

In your /etc/fstab you need to change /dev/BOOt, /dev/ROOT and /dev/SWAP to your actual partitions (eg /dev/hda2).
Back to top
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Sat Dec 03, 2005 5:46 am    Post subject: Reply with quote

sixguage:

I personally don't use LILO so can't comment as to its validity, but there are problems with your /etc/fstab.

Quote:

my fstab file is as follows:
/dev/BOOT /boot ext2 noAuto,noatime 12
/dev/ROOT / ext2 noatime 01
/dev/SWAP none swap sw 00
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto 00
proc /proc proc defaults 00
shm /dev/shm tmpfs nodev,nosvid,noexe 00


when fstab puts in /dev/ALLCAPSNAME it's just a placeholder for the actual location of that partition. For example, my drive is partitioned such that /dev/BOOT is, on my comupter, /dev/hda1 (I suspect the same may be true for you). You need to use cfdisk to find out which partitions are which, and edit the information in /etc/fstab as appropriate. Make sure you change all three, boot, root, and swap to the actual partitions. If boot is hda1, root is hda3 and swap is hda2,

Code:

/etc/fstab:

/dev/hda1               /boot           ext2            noauto,noatime          1 1
/dev/hda3               /                 ext2         noatime                 0 0
/dev/hda2               none            swap            sw                      0 0
blah, blah, blah



Also, as an aside, is there any particular reason you used ext2 as your root partition? It is fast, and works well for boot, but is more easily corruptable than, say, ext3 or reiserfs for your root. My recommendation would be reiserfs for root.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Sat Dec 03, 2005 7:54 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-8351.html.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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