grub rescue, can't boot from usb

547

Assuming that your Linux file system is on (hd0,1)

If you want to list files in the partition try the following command:

grub> ls (hd0,1)/

(It will only with the filesystem containing Linux)

grub> set root=(hd0,1)

Also check the name for your vmlinuz and initrd files.

grub> linux /boot/vmlinuz root=/dev/sda1

(sda1 will change according to your Linux filesystem)

grub> initrd /boot/initrd.img
grub> boot

After you boot into you Ubuntu update your grub config.

Share:
547

Related videos on Youtube

limonnana
Author by

limonnana

Updated on September 18, 2022

Comments

  • limonnana
    limonnana almost 2 years

    I m using Clarity Design System with angular and the top menu is not mobile response

     <header class="header-2">
      <div class="branding">
          <a class="nav-link">
              <clr-icon shape="home"  size="24"></clr-icon>
              <span class="title">title</span>
          </a>
         </div>
        <div class="header-nav">
          <a class="nav-link nav-text" routerLink="/home">Home</a>
          <a class="active nav-link nav-text" 
        routerLink="/login">Login</a>
       </div>
      </header>
    

    I m expecting the top menu to turn into few lines (button) when the width is reduce

    Or should I use different tags ?

  • LittleByBlue
    LittleByBlue over 9 years
    this is the right way. ls (hd0) cannot work because (hd0) is just the disc.
  • compiler
    compiler over 9 years
    Yeah thanks @LittleByBlue. We don't have this command in Arch. We use grub-mkconfig
  • LittleByBlue
    LittleByBlue over 9 years
    really? I am using Arch, too, but my grub is on ubuntu so I always have been working on ubuntu with my grub, see info grub
  • compiler
    compiler over 9 years
    Oh. I left ubuntu like 2 years ago. :p
  • LittleByBlue
    LittleByBlue over 9 years
    Oh, on info grub is no entry for update-grub, but I am running it after every system change
  • LittleByBlue
    LittleByBlue over 9 years
  • compiler
    compiler over 9 years
    @LittleByBlue Yeah thats the manual why of doing it.