help-grub
[Top][All Lists]
Advanced

[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: Mon, 30 Mar 2015 13:29:54 +0200 (CEST)

> Andrei Borzenkov <address@hidden> hat am 30. März 2015 um 13:01
> geschrieben:
>
>
> On Mon, Mar 30, 2015 at 12:30 PM, Stefan Lamby <address@hidden>
> wrote:
> > Hello list.
> >
> > I wanted to install kubuntu 14.04 on a USB-Stick which was mounted as
> > /dev/sdbX
> > at my productive laptop which uses /dev/sdaX. I choosed all options
> > regarding to
> > /dev/sdb but after install my laptop was not able to boot anymore
>
> And what happens? Unless you provide symptoms, it is rather hard to
> guess how it can be fixed. Screenshot of errors would be useful.
 
There was no error, since grub seems to do everything it was told to. The error
was that it booted from usb stick instead of my laptops hard disk. My fault was,
that I didn't expect /dev/sda to be overwritten during the install process for
the usb disk.

>
> > since all data
> > at the beginning of /dev/sda seems to be overwritten. I need to recover and
> > make
> > it boot again.
> >
> > The laptop (new dell 64 bit) is also running a kubuntu 14.04.02 system.
> > The setup is:
> > I have a luks encrypted disk which I am able to encrypt using
> > cryptsetup open /dev/sda3 kubuntu-vg
> > On top of it is lvm2 sitting, which I am able to activate using
> > vgchange -ay
> > One volume group kubuntu-vg is displayed and I have 2 logical volumes
> > (kubuntu-vg-root and kubuntu-vg-swap_1). I can mount it via
> > mount /dev/mapper/kubuntu--vg-root /mnt/
> >
> > When I look at /mnt/boot, I have 2 dirs there: efi and grub
> >
> > When using fdisk -l I get folling partition layout:
> > /dev/sda1 2048 1050623 512M EFI System
>
> Do you use EFI or legacy BIOS boot?

BIOS is set to UEFI Boot, disabled secure boot.

>
> > /dev/sda2 1050624 1550335 244M Linux filesystem
> > /dev/sda3 1550335 1953523711 930.8G Linux filesystem
> >
> >
> > I am afraid of breaking things more. Also I do not know, how everything is
> > working.
> > Are the first sectors of /dev/sda just a pointer to the rest of the booting
> > code
> > which resides at
> > /dev/sda2?
> >
> > Please help.
> > What can I do? What further information could be helpfull?
> >
> > Stefan
> >
> > _______________________________________________
> > Help-grub mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/help-grub
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]