Error booting LFS 7.1
I just finished my basic LFS setup. I did not follow the instructions to set up a new grub install because I wanted to use my current grub install.
I am on Mageia 1 which uses Grub 0.97. My LFS system is on /dev/sdb1. Here are the contents of my /boot/grub/menu.lst (you can see the lfs entry that I added): Code:
timeout 10 Here is the error that I get when try to boot lfs from grub: Code:
Booting LFS Please help me get to the bottom of this. |
Hi
Should that read root=(hd1,1) Presume boot is root dir and not on it's own partition |
Quote:
|
Should I be putting these files:
config-3.2.6 System.map-3.2.6 vmlinuz-3.2.6-lfs-7.1 in my $LFS/boot, or in my Mageia /boot (the one with the grub stuff)? Currently they are in $LFS/boot. |
It should read set root=(hd1,0) sorry.
They go in lfs boot Try changing the sdb to hdb kernel /boot/vmlinuz-3.2.6-lfs-7.1 root=/dev/hdb1 You might have to change the /dev/sdbx to /dev/hdbx in /etc/fstab |
I changed back to root (hd1,0) and tried with both hdb1 and sdb1, including changing my fstab, and I am still getting the Error 15: file not found.
|
Please post the exact contents of your $LFS/boot directory, also the output of
Code:
fdisk -l Code:
kernel (hd0,0)/boot/vmlinuz ... Code:
root (hd1,0) |
I just figured out that the entire time, I was working in /mnt/lfs, I thought that sdb1 was mounted in /mnt/lfs, but it wasn't, hopefully I can just move all of my work over to sdb1 and have it all work, I will let you know my results.
I am not sure if this will even work since I was not working in a different partition. This can be bad, I may have to start all over again! |
Is sdb1 a partition on hard disk or usb disk?
|
It is on a hard disk. I copied everything to it, the system attempted to boot, but I got gobs of errors that I will attempt to work out. My fear is that I will have to start everything from scratch.
|
I am getting a lot of messages during bootup about things being read only. Has anyone experienced anything like that? I will try to capture some of these error messages and post them.
|
As long as you were chrooted to /mnt/lfs it shouldn't matter if it is a directory or a partition. In fact, the system shouldn't care at all about something like that.
Since you are a long time member here you should already know that "I am getting a lot of messages during bootup about things being read only." is not a sufficient error description. Please post when exactly those error-messages appear and which "things" are reported being read-only. |
Good news, I was chrooted the entire time.
Here is the first set of error messages: Code:
mount: unknown filesystem type 'devtmpfs' I tar'd everything that was in /mnt/lfs and copied it to my second hard drive, and then untar'd it, could this be a part of why there is some kind of problem? |
There seems to be an error in your /etc/fstab. This causes the /dev filesystem not to be mounted as tmpfs, as is pretty normal nowaydays, which in turn prevent the device nodes and symlinks in /dev from being created (it seems that at this point the /-filesystem is still mounted read-only).
|
Here is my fstab:
Code:
# Begin /etc/fstab Code:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes |
All times are GMT -5. The time now is 06:50 AM. |