Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with partitions and Grub booting [SOLVED]
View unanswered posts
View posts from last 24 hours

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


Joined: 20 Jul 2005
Posts: 164
Location: Switzerland

PostPosted: Wed Jul 20, 2005 4:58 pm    Post subject: Reply with quote

I got them same error with cat. The file fstab doesnt exist.
If I mount hdb1, in ext2.. only grub and lost+found are in the directory.
All partitions except hdb1 (ext2) and hdb5 (swap) are in ext3 fs.


Finally, I think it would be better to reinstall it.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Jul 20, 2005 5:09 pm    Post subject: Reply with quote

Bluespear wrote:
I got them same error with cat. The file fstab doesnt exist.
If I mount hdb1, in ext2.. only grub and lost+found are in the directory.
All partitions except hdb1 (ext2) and hdb5 (swap) are in ext3 fs.


Finally, I think it would be better to reinstall it.

If all the other files are in /dev/hda7, (dev, bin, usr, sbin, etc), you could do this:
Code:
Boot of LiveCD
mount /dev/hdb7 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot
mount /dev/hdb2 /mnt/gentoo/var
mount /dev/hdb3 /mnt/gentoo/usr
mount /dev/hdb8 /mnt/gentoo/home
mount /dev/hdb6 /mnt/gentoo/opt
swapon /dev/hda5

chroot /mnt/gentoo

Now move into /usr/src/ and continue with building your kernel as per the install guide and cp it to /boot

After done, use command exit to leave the chroot, and then umount all the partitions previously mounted and reboot.

If you do reinstall, unless you really need it I would save yourself some trouble and only use 2 or 3 partitions.
partition for swap, and rest of disk 1 partition for / or partition for swap, boot, and /.
Back to top
View user's profile Send private message
Bluespear
Apprentice
Apprentice


Joined: 20 Jul 2005
Posts: 164
Location: Switzerland

PostPosted: Wed Jul 20, 2005 5:27 pm    Post subject: Reply with quote

Ok, thanks for your help.
I would try to compile again the kernel after mounting, and if it fail, I'll do another install with less partitions.
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
Page 2 of 2

 
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