<div dir="ltr"><div dir="ltr">Hi Phil,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 19 Feb 2023 at 03:33, Phil <<a href="mailto:phillor9@gmail.com">phillor9@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 19/2/23 10:44, Aaron Rainbolt wrote:<br>
"ls" anything at the grub rescue prompt gives the same result "unknown <br>
filesystem"<br></blockquote></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I remember that GRUB's ls works slightly differently to Linux's ls command.</div><div class="gmail_quote"><br></div><div class="gmail_quote">To quote hopefully relevant points from the GRUB online manual:-</div><div class="gmail_quote"><a href="https://www.gnu.org/software/grub/manual/grub/html_node/File-name-syntax.html#File-name-syntax">https://www.gnu.org/software/grub/manual/grub/html_node/File-name-syntax.html#File-name-syntax</a></div><div class="gmail_quote"><br></div><div class="gmail_quote"><b>13.2 How to specify files<br></b><br>There are two ways to specify files, by absolute file name and by block list.<br><br>An absolute file name resembles a Unix absolute file name, using ‘/’ for the directory separator (not ‘\’ as in DOS). One example is ‘(hd0,1)/boot/grub/grub.cfg’. This means the file /boot/grub/grub.cfg in the first partition of the first hard disk. If you omit the device name in an absolute file name, GRUB uses GRUB’s root device implicitly. So if you set the root device to, say, ‘(hd1,1)’ by the command ‘set root=(hd1,1)’ (see set), then /boot/kernel is the same as (hd1,1)/boot/kernel. </div><div><br></div><div><br></div><div>This might be of interest:</div><a href="https://www.gnu.org/software/grub/manual/grub/html_node/ls.html#ls">https://www.gnu.org/software/grub/manual/grub/html_node/ls.html#ls</a><div><b>Command: ls [arg …]<br> List devices or files.<br></b> With no arguments, print all devices known to GRUB.<br> If the argument is a device name enclosed in parentheses (see Device syntax), then print the name of the filesystem of that device.<br> If the argument is a directory given as an absolute file name (see File name syntax), then list the contents of that directory. </div><div><br></div><div>HTH,</div><div><br></div><div><br></div><div>Ian</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>-- ACCU - Professionalism in programming - <a href="http://www.accu.org" target="_blank">http://www.accu.org</a><br></div>-- My writing - <a href="https://sites.google.com/site/ianbruntlett/" target="_blank">https://sites.google.com/site/ianbruntlett/</a><br><div>-- Free Software page - <a href="https://sites.google.com/site/ianbruntlett/home/free-software" target="_blank">https://sites.google.com/site/ianbruntlett/home/free-software</a><br></div><br> </div></div></div></div></div></div></div></div>