On 19/03/2019 14:57, William Harrington wrote:
On Mon, 18 Mar 2019 16:20:32 -0700
Pei Jia <[email protected]> wrote:
Hi, all:
Thank you for your help so far... I make some progress, please refer to
the following pictures...
https://longervision.cc/bugs/gparted.jpg
https://longervision.cc/bugs/grub.jpg
https://longervision.cc/bugs/kernel_panic.jpg
Hello Pei,
This one shows ya mounted a vfat filesystem. I don't think the LFS build is
there. Choose your rootfs carefully. As mentioned before, disconnect all drives
and boot with only the USB device to make sure that works. As far as we know
your rootfs could be at sda1 sdb2 sdc3 sdd4 sde1. Narrow it down.
It also shows that /dev/sde is 5TB, while /dev/sdd is 15 GB, which seems
to be closer to what an USB stick should be. You could try root=/dev/sdd
on the "linux" command line. Also, what you could do (I hope you have a
qwerty us keyboard, otherwise some keys are tricky to find):
hit "c" when seeing the grub prompt (grup.jpg)
type:
set root=(<tab>
You should see a list of possible drives, in the form hdx. You'll have
to try all of them. For example,
set root=(hd3,<tab>
You should see a list of partitions, with filesystem information. If you
have found the USB drive, there should be only one partition, say
hd3,msdos1. Let us try that. Finish the command so:
set root=(hd3,msdos1)<enter>
then type:
linux /<tab>
You should see the listing of the / directory. If it seems OK (for
example if there is a tools/ file), type:
linux /boot/vm<tab>
If you get vmlinuz-xxx (with xxx= what you have added when copying the
kernel to the /boot directory)
accept it, and finish the command with
linux /boot/vmlinuz-xxx root=/dev/sdx1 ro<enter>
where x is a if you found lfs on the hd0 drive, b if on hd1, etc (d in
our example)
then just type boot on a line by itself.
HTH
Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style