Hi, Thank you Pierre and Bruce:
1. Right now, I booted into my laptop's Ubuntu 18.04.2, and /dev/sde1
corresponds to my USB stick for sure, as I can definitely see the
following line:
➜ ~ sudo blkid
...
/dev/sde1: LABEL="skyvision-3.0"
UUID="d8a7b940-0ff5-41c4-81a0-9fd1797501ed" TYPE="ext4"
PARTUUID="0860eda0-01"
...
2. However, when I *reboot*, after pressing *ESC*, I entered *grub >* :
if I do *ls*, I'm 100% sure (hd0), (hd0,msdos1) corresponds to my *USB
stick drive* and *partition* respectively, as I can do:
*set root=(hd0,msdos1)*
*cat /boot/grub/grub.cfg*
which I can easily tell it is just the grub I put under the *USB stick's
/boot/grub/ folder*, which is of course, totally different from the one
on my laptop's ....
3. So, I believe there might be 2 possible reasons?
From this picture: https://longervision.cc/bugs/gparted.jpg
* My USB stick is NOW of a *msdos partition table*, but *ext4
filesystem*, is that OK? As mentioned by William that I may *NOT*
have *vfat* built into the *kernel*. I'll check it again...
* On this page:
http://www.linuxfromscratch.org/lfs/view/development/chapter08/grub.html,
I *didn't *do *grub-install* at all (under lfs configuration and on
the USB stick). However, I did *sudo update-grub* to have my *host
laptop's grub updated*, which seems working properly, because it
*did successfully detect and add the booting info* under*/dev/sde1*
to my *host laptop's grub.cfg*. And... how can I detect if *EXT4*
*module* is successfully loaded by the *LFS kernel*? It seems *EXT4
is NOT a module*, but *built into kernel by default *already?
Thank you very much.
On 2019-03-19 10:33 a.m., Pierre Labastie wrote:
On 19/03/2019 16:59, Bruce Dubbs wrote:
On 3/19/19 10:01 AM, Pierre Labastie wrote:
On 19/03/2019 14:57, William Harrington wrote:
On Mon, 18 Mar 2019 16:20:32 -0700
Pei Jia <[email protected]> wrote:
Hey all. The problem is with the linux command line in grub.cfg
and/or the drivers in the kernel.
Note that he *IS* booting kernel. GRUB is finding it just fine.
Hmm, possible, but since the grub prompt comes clearly from ubuntu,
isn't it the ubuntu kernel?
I have this doubt that according to one of the pictures, /dev/sdd is
15GB, while /dev/sde is 5TB. Pei, when you say "an USB drive", is it
the 5TB one or the 15GB one? Also, /dev/sde has 2 partitions. And
/dev/sde1 seems to be a FAT filesystem (if this is the one that is
mounted)... I'd believe the right partition to mount is /dev/sdd1, but
update-grub seems to have generated /dev/sde1...
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