View previous topic :: View next topic |
Author |
Message |
Bluespear Apprentice
Joined: 20 Jul 2005 Posts: 164 Location: Switzerland
|
Posted: Wed Jul 20, 2005 4:58 pm Post subject: |
|
|
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 |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Jul 20, 2005 5:09 pm Post subject: |
|
|
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 |
|
|
Bluespear Apprentice
Joined: 20 Jul 2005 Posts: 164 Location: Switzerland
|
Posted: Wed Jul 20, 2005 5:27 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|