some boot errors
1 Attachment(s)
I have just finished compiling LFS. When I boot the system, some errors emerged. Could anyone help me.
|
Hi
Can you post grub.cfg and fdisk. also some more info on how the system is setup, Vm, usb boot etc |
Hi slim.chen,
Looking at the screen-shot you posted I noticed you used hda and the system uses sda. Besides the info spiky0011 asked for (grub.cfg and output of fdisk -l) could you also post your fstab file? Hope this helps. |
Opps I meant fstab thks drunna
|
Hi, druuna & spiky0011
Thanks you guys help me. Since I cannot boot my system now, I cannot give you some detail information. I compile the LFS on the VirtualBox. The host system is on the sda1 and the lfs is on the sda3. It seems that you can only use the hda, not the sda. Ah, I boot the system with a liveCD. But I can not find the gurb.cfg file. But I find the menu.lst file, here is the content: # Begin /boot/grub/menu.lst # By default boot the first menu entry. default 0 # Allow 30 seconds before booting the default. timeout 30 # Use prettier colors. color green/black light-green/black # The first entry is for LFS. title LFS-6.4 built by ChenLiang root (hd0,2) kernel /boot/lfskernel-2.6.27.4 root=/dev/hda3 # The second entry is for Host System -- Ubuntu title Ubuntu 9.04, kernel 2.6.28-11-generic kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/hda1 ro locale=zh_CN quiet splash initrd /boot/initrd.img-2.6.28-11-generic quiet |
Hi
This is a old lfs now, I see you started it back in 2009. It has all moved on from there now. Anyway I think I would change hda3 to sda3. Also post fstab file should be /etc/fstab As this is so old lfs moving on to blfs might be a little hard as some software might be too old. |
Hi,
Quote:
Looking at the kernel version that is used I'm guessing this is LFS version 6.4, which is old. Building the current stable 7.0 is a better idea, but that is ultimately up to you. As stated by spiky0011: If, after finishing LFS, you want to continue with BLFS you might be in for a rough ride... Quote:
My advise: Start from scratch and build the current stable LFS version. Hope this helps. |
Hi, druuna & spiky0011
Aha, I have finished it! As you said before, changed hda to sda, and it worked. The first time I try to build LFS is in 2009 when I was a fresher student of computer science, but I failed at that time. After that, I have change my major. Now I become interested in Linux again, so I want to finish this work. With your help, I did it, thanks very very much. And, do you have some ideas to build LFS in some mobile device, like cell phones? |
I dont think there is anything like that for cells. If you want to go further with lfs> blfs I would think about redoing lfs > lfs7 is the latest
|
Well, I see CLFS can be compiled for ARM, which might be a start-point for a mobile device (One running Android, perhaps). But where you'd start as per host requirements, is another matter.
It is possible to install debian to run alongside Android, but you'd better have a strong device to cope with running all that and then building LFS. |
All times are GMT -5. The time now is 11:55 AM. |