[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Destroyed Entries at /dev/sda - boot not possible anymore
From: |
Stefan Lamby |
Subject: |
Re: Destroyed Entries at /dev/sda - boot not possible anymore |
Date: |
Tue, 31 Mar 2015 15:17:21 +0200 (CEST) |
> Andrei Borzenkov <address@hidden> hat am 31. März 2015 um 15:00
> geschrieben:
>
>
> On Tue, Mar 31, 2015 at 3:59 PM, Andrei Borzenkov <address@hidden> wrote:
> > OK, so grub.cfg on /dev/sda1 refers to /dev/sdb2. Am I right that
> > /dev/sda1 is your original /boot?
Yes, sda is the hd used originally.
>
> Oops. /dev/sda2 of course.
>
> > Could you show its listing?
> >
> > mount -r /dev/sdb2 /mnt - scratch it
>
> mount -r /dev/sda2 /mnt
>
> > ls -l /mnt
> > ls -l /mnt/grub
>
address@hidden:~# mount -r /dev/sda2 /mnt
address@hidden:~# ls -l /mnt/
total 138250
-rw-r--r-- 1 root root 1207386 Jan 15 18:22 abi-3.16.0-30-generic
-rw-r--r-- 1 root root 1207327 Mar 10 21:12 abi-3.16.0-31-generic
-rw-r--r-- 1 root root 1207327 Mar 13 11:12 abi-3.16.0-33-generic
-rw-r--r-- 1 root root 171768 Jan 15 18:22 config-3.16.0-30-generic
-rw-r--r-- 1 root root 171802 Mar 10 21:12 config-3.16.0-31-generic
-rw-r--r-- 1 root root 171827 Mar 13 11:12 config-3.16.0-33-generic
drwxrwxr-x 2 root root 1024 Feb 21 18:27 efi
drwxr-xr-x 5 root root 1024 Mar 24 09:41 grub
-rw-r--r-- 1 root root 29216458 Feb 21 19:04 initrd.img-3.16.0-30-generic
-rw-r--r-- 1 root root 29225033 Mar 15 08:53 initrd.img-3.16.0-31-generic
-rw-r--r-- 1 root root 29232450 Mar 24 09:41 initrd.img-3.16.0-33-generic
drwx------ 2 root root 12288 Feb 21 18:27 lost+found
-rw-r--r-- 1 root root 176500 Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 178176 Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 178680 Mar 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 3511040 Jan 15 18:22 System.map-3.16.0-30-generic
-rw------- 1 root root 3511419 Mar 10 21:12 System.map-3.16.0-31-generic
-rw------- 1 root root 3512061 Mar 13 11:12 System.map-3.16.0-33-generic
-rw-r--r-- 1 root root 6345120 Feb 21 18:33 vmlinuz-3.16.0-30-generic
-rw-r--r-- 1 root root 6347032 Feb 19 16:18
vmlinuz-3.16.0-30-generic.efi.signed
-rw------- 1 root root 6346448 Mar 10 21:12 vmlinuz-3.16.0-31-generic
-rw------- 1 root root 6348376 Mar 15 08:53
vmlinuz-3.16.0-31-generic.efi.signed
-rw------- 1 root root 6348624 Mar 13 11:12 vmlinuz-3.16.0-33-generic
-rw------- 1 root root 6350552 Mar 24 09:41
vmlinuz-3.16.0-33-generic.efi.signed
address@hidden:~# ls -l /mnt/grub/
total 2381
drwxr-xr-x 2 root root 1024 Feb 21 18:40 fonts
-r--r--r-- 1 root root 9790 Mar 24 09:41 grub.cfg
-rw-rw-r-- 1 root root 1024 Mar 29 12:46 grubenv
drwxr-xr-x 2 root root 1024 Feb 21 18:40 locale
-rw-r--r-- 1 root root 2405285 Feb 21 18:40 unicode.pf2
drwxr-xr-x 2 root root 8192 Feb 21 18:40 x86_64-efi
Yes, those partitions sda1,2,3 are the ones originally used. The ubuntu
installer
has overwritten sda even it was told to use sdb in the second install where I
wanted to install to usb disk. If you take ubuntu manual install which I didnt,
you are
asked where to install grub. Next time I will for sure use it that way.
Thank you.
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, (continued)
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Stefan Lamby, 2015/03/30
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Andrei Borzenkov, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Stefan Lamby, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Andrei Borzenkov, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Stefan Lamby, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Andrei Borzenkov, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Andrei Borzenkov, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore,
Stefan Lamby <=
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Andrei Borzenkov, 2015/03/31
- Re: Destroyed Entries at /dev/sda - boot not possible anymore, Stefan Lamby, 2015/03/31