General TC > General TC Talk
[Solved] grub cannot read usb drive's ext4 partition
GNUser:
I can confirm that the problem is with the USB stick, not my "old" daily driver laptop.
When I try to boot the USB stick on a fancy UEFI-only laptop, I see the same problem: I can't boot the stick and grub command line tells me this:
--- Code: ---grub> ls (hd0,gpt1)
Partition hd0,gpt1: No known filesystem detected - Partition start at 1024KiB - Total size 26214400KiB
--- End code ---
GNUser:
--- Quote from: patrikg on February 07, 2024, 11:09:28 AM ---I think you missing the gpt drivers, try to load them into grub.cfg
--- Code: ---insmod part_gpt
insmod part_msdos
--- End code ---
--- End quote ---
Hi patrikg. That doesn't help on either (BIOS or UEFI) laptop, unfortunately.
Just to narrow down the problem, I wiped the USB drive again and created new GPT partition table, single ext4 partition, and a single helloworld.txt file in the partition. Same problem--grub cannot list the files in the partition because it claims the filesystem is "unknown".
Could it be that this USB drive does not correctly support GPT partition table?
patrikg:
Strange, your are talking about grub that not founds the thing.
I can see that you tries to get into the command line in grub.
Why not just type lsmod to see what mods being loaded.
Do you have ext4 or ext2 there ??
For I don't know reason, in my arch gpt in grub i also have fat and bli module loaded.
--- Code: ---insmod bli
--- End code ---
--- Code: ---insmod fat
--- End code ---
jazzbiker:
Hi GNUser!
Why not to try MBR?
Rich:
Hi GNUser
Did you read this about removing the stick:
https://forum.tinycorelinux.net/index.php/topic,19364.msg143441.html#msg143441
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version