On 3/18/19 5:22 AM, thomas wrote:
Am 2019-03-18 11:14, schrieb Pei Jia:
Hi:
I now make some progress:
* I followed your suggestions, CP -A LFS OUT TO MY HOST, AND
PARTITION THE USB DRIVE.
* However, I still failed to boot, please refer to my new result:
https://longervision.cc/bugs/lfs_kernel_panic.jpg
I believe I'm already very close to the RIGHT answer...
Anyway, I now have 2 GRUBS, one is ON MY HOST'S LAPTOP GRUB, the
other is ON MY USD DRIVER.
BTW, is this
http://linuxfromscratch.org/lfs/view/stable/chapter08/grub.html for
configuring GRUB2 on the HOST COMPUTER (EXISTING GRUB) ? or for the
NEWLY USB DRIVE?
Cheers
Pei
On 2019-03-17 2:13 p.m., spiky0011 wrote:
On 17/03/2019 20:33, Pei Jia wrote:
...
Please do not top-post. Add your comments *below* the text you're
answering. That helps to follow the discussion.
Please provide the grub.cfg file, the fstab of the system to boot and
the partition layout including info about which partition contains which
file system.
Indeed, it looks like we not too far from success, but you never know...
;-)
If you want to boot from the usb drive you have to tell the system
firmware to boot from that system. That can get tricky because the
devices will change. The usb drive will be /dev/sde (for example) when
booting from the hard disk and /dev/sda (probably) when booting from the
usb drive.
You can get around that by by using UUIDs instead of devices, but that
is a bit tricky. If the drives are partitioned with GPT, then you can
use PARTUUID and not need an initrd.
Personally I think at the current knowledge level, Pei is trying to run
before he can walk.
-- Bruce
--
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