Dispositif amorçable introuvable

Solved
Francois56 -  
Lulu69 Posted messages 4321 Registration date   Status Member Last intervention   -
Hello,

I installed Ubuntu alongside Windows Vista on an old PC. It worked fine until I modified the partitions to keep only the one for Ubuntu (thus deleting Windows Vista).

Since then, I have the blocking message "No bootable device".

Have I messed everything up or is there a way to recover the situation?

Thank you in advance for your help.

François

6 answers

  1. Francois56
     
    Thank you, I will take a look at that calmly tomorrow because I don't have exactly the same screens as on the link. Thank you for the promptness!
    0
    1. Lulu69 Posted messages 4321 Registration date   Status Member Last intervention   741
       
      No worries, you'll see it's very simple and relatively quick to do.

      Good luck.
      0
  2. jns55
     
    Hello,
    Let's first check the state of the disk partitions:
    Boot a live session from your Ubuntu installation media, open the terminal, and provide the result of the following command (copy/paste)
    sudo fdisk -l
    (letter L)
    0
  3. Francois56
     
    Hello,
    Here is what I get when executing the command (I hope it's not too catastrophic..., thanks for the help!):

    lubuntu@lubuntu:~$ sudo fdisk -l
    Disk /dev/loop0: 1.59 GiB, 1697615872 bytes, 3315656 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

    Disk /dev/sda: 232.91 GiB, 250059350016 bytes, 488397168 sectors
    Disk model: WDC WD2500BEVS-2
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xa1c02292

    Device Boot Start End Sectors Size Id Type
    /dev/sda1 2048 488392064 488390017 232.9G 83 Linux

    Disk /dev/sdb: 14.96 GiB, 16034824192 bytes, 31318016 sectors
    Disk model: GOODRAM 16GB
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x008dbb62

    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 2048 31318015 31315968 15G c W95 FAT32 (LBA)

    Disk /dev/zram0: 745.66 MiB, 781864960 bytes, 190885 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disk /dev/zram1: 745.66 MiB, 781864960 bytes, 190885 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    0
    1. jns55
       
      There is only one Linux partition occupying the entire disk. Your PC boots in BIOS mode, the first part of the tutorial indicated by Lulu69 is intended for PCs starting in UEFI, so not yours. However, the second part with boot-repair might do the trick.

      There is one thing I don't understand: deleting the Windows partition should normally not affect the GRUB booting since it is placed in the MBR of the disk, so outside of any partition, the GRUB config files being located in the Linux partition, everything should be in place. I am very much afraid that the MBR of the disk is corrupted.

      How did you go about deleting the Windows partition?
      0
      1. Francois56 > jns55
         
        So I followed the second part of the tutorial indicated by Lulu69 with boot-repair and now I no longer have "No bootable device", it stops at this:
        PXE-E61: Media test failure, check cable
        PXE-MOF: Exiting Broadcom PXE ROM.
        And then nothing...

        I deleted the Windows partition via the partition manager on Lubuntu... But I think I messed up, I tinkered too much...
        0
      2. jns55 > Francois56
         
        Apparently the disk has a problem, probably with the MBR.
        Try this:
        From your installation media, launch GParted.
        https://gparted.org/display-doc.php?name=help-manual&lang=en#gparted-create-partition-table

        In the Devices menu, select your disk, then right-click: create a new partition table. Select a msdos type table and apply.
        This will erase the entire disk, but with a bit of luck, the disk might be fixed.
        Once that's done, reinstall Lubuntu using the whole disk (automatic installation).
        Keep me updated.
        0
  4. Lulu69 Posted messages 4321 Registration date   Status Member Last intervention   741
     
    Hello,

    And why not run the command in a live terminal

    sudo grub-install /dev/sdb

    Of course, the disks must be unmounted

    Secure, save, hold, protect, control.
    95% of computer problems are found between the keyboard and the chair.
    0
  5. Francois56
     
    Good evening,
    I indeed erased the disk via gparted and installed Xubuntu (it didn't work with Lubuntu...).
    Everything is working now.
    A big thank you for your advice!
    0
    1. Lulu69 Posted messages 4321 Registration date   Status Member Last intervention   741
       
      Great and best wishes with GNU/Linux :-)
      0