Debian Installation :: Recover Grub On A Dual Boot Machine With Encrypted LVM

Oct 16, 2015

My laptop setup is:

sda1: W7
sda2: FAT16
sda3: /boot
sda4: encrypted LVM with debian (everything besides /boot)

now I've re-installed W7 so grub was overwritten. I've tried the procedure which worked for me previously:booting with the netinst usb in rescue mode, choosing a root partition to mount, using grub-install to reinstall the grub:

Code: Select allmount /dev/sda3 /boot
grub-install /dev/sda

Now I'm on Jessie (stable), and this time this fails, and I am able to mount only sda3.grub-install doesn't exit so I'm assuming it has been replaced by `grub-installer'. also '/boot' doesnt exist so I created it manually.

Code: Select allmount /dev/sda3 /boot
grub-installer /dev/sda

The latter fails with
Code: Select all/dev/sda/proc not a directory

View 6 Replies


ADVERTISEMENT

OpenSUSE Install :: Recover Grub Installation In A Dual Boot System?

Nov 19, 2010

I would like to recover my grub installation in a dual boot system. if there is an easy way to recover grub using flash disk? If yes is your suggestion opensuse developed? (currently running 11.3) . It would be nice also to have some gui just to make things easier. If not I assume that then the only option is the boot from dvd. Is that right?

View 9 Replies View Related

General :: Grub Boot Loader Installation In Dual Boot Machine After Windows 7 Installation?

Mar 23, 2010

I had a dual boot machine with fedora 12 and windows vista and I could use grub boot-loader to switch between two. Few days ago windows got corrupt and I have to reinstall it. I put windows 7 now and as usual it erased grub. So to reinstall I put the fedora 12 installation CD on and followed some usual setup steps. When I got the command line I issued the command "grub-install /dev/sda" (sda not hda because It showed bunch of sda, sda1..) but surprisingly it said grub command not found. I remember doing it before while it worked fine.

View 4 Replies View Related

Debian Installation :: UEFI GRUB Broken - Dual Boot 7.7 And Win 8.1

Dec 23, 2014

My Toshiba Satellite C870-198 has Debian 7.7 installed in UEFI mode alongside Windows 8.1. The GRUB menu no longer displays, but the machine boots straight into Windows.

I can boot into Debian or Windows from rEFInd installed on a USB stick. The rEFInd menu has the following entries:

The Debian entry actually launches the GRUB menu which was installed with Debian.

Code: Select allBoot Microsoft EFI boot (Boot Repair backup) from Basic data partition.
Boot supposed Microsoft EFI boot (probably GRUB) from Basic data partition.
Boot EFIubuntugrubx64.efi from Basic data partition.
Boot EFIdebiangrubx64.efi from Basic data partition.
Boot bootootx64.efi from Basic data partition.
Boot vmlinuz-3.2.0-4-amd64 from boot.

In an attempt to fix GRUB I executed the commands in the 'Reinstalling grub-efi on your hard drive' section of: [URL] ....

Code: Select allmount /dev/sda1 /boot/efi
... surprisingly returned:
Code: Select all$LogFile version 2.0 is not supported.  (This driver supports version 1.1 only.)
$LogFile version 2.0 is not supported.  (This driver supports version 1.1 only.)
Did not find any restart pages in $LogFile and it was not empty.
The file system wasn't safely closed on Windows. Fixing.
Code: Select all[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"

... returned "EFI boot on HDD".

[Code] ....

... Where is Debian?

FULL HISTORY ....
=============================

The laptop came with Windows 8 preinstalled. I switched off Secure Boot and installed Ubuntu for UEFI dual boot. I recall having to use Boot Repair to get the GRUB boot manager working properly for both systems.

Recently I decided to replace Ubuntu with Debian 7.7 and first cloned the entire hard drive to a USB drive (The Clone Drive). This drive successfully boots into Ubuntu in UEFI mode.

Following this I took the opportunity to update Windows to 8.1, which broke GRUB as expected, so that the machine would only boot straight into Windows.

I installed Debian from a live USB stick in the mistaken belief that it would be bootable in UEFI mode. It did boot OK in legacy mode.

I then burned the full Debian 'DVD' image to a USB stick, booted it in UEFI mode and reinstalled Debian. In UEFI mode GRUB allowed me to boot into both Debian and Windows.

At this point I tested The Clone Drive. It was still able to boot into Ubuntu as previously, but after powering down, unplugging The Clone Drive and rebooting, the GRUB menu failed to appear and the machine booted straight into Windows. This is its current state.

View 13 Replies View Related

Debian Installation :: Dual-boot Grub Rescue Says No Such Device

Feb 13, 2015

I'm inexperienced in Debian. I have a dual-boot machine (64-bit, Debian 7.3, Windows 7, legacy boot) and encouter a problem at boot ever since I completed the installation of Debian 7.3 alongside the exising Windows 7. This machine has six hard drives: two are intended for ntfs storage of general data (raided together by RAID1); two more are intended for ext4 storage of general data (also raided together by RAID1); the fifth contains the Windows OS files and the sixth contains the Debian OS files. The problem is that I arrive to the grub_rescue each time at boot, seeing the message:

GRUB loading.
Welcome to GRUB!

error: no such device: e081517b-3399-4067-9294-8f0686f753ca.
Entering rescue mode...
grub_rescue>

View 2 Replies View Related

Debian Installation :: 8.3 And Windows 10 Dual Boot GRUB EFI Removed

Feb 3, 2016

I've been using Debian for a few years but always on dedicated boxes and/or VMs.

Finally decided to dual boot Debian and Windows on my main Desktop PC.

Installed as I normally would using, however this time using a seperate drive (one for the existing Windows 10 install and the other for Debian), Debian install detects that windows has an EFI partition and sticks an entry in there, which is fair enough, and everything working fine. Then I spent some time configuring all my software and set it all up just the way I like it. I've rebooted Debian a few times to check it's working correctly and it is.

The issue arrives when I reboot and load into Windows 10. It boots fine.

However after a further reboot GRUB no longer loads... and the machine just boots directly into Windows 10.

After doing some further digging into my EFI partition (and reinstalling various times) it would appear that after a reboot Windows 10 deletes the entry GRUB creates in my EFI partition after EVERY reboot.

Done some googling and most people advise turning off 'fast boot' in Windows as it locks certain partitions to facilitate the machine going into hibernation, only to find that it's always been turned off on my machine (I recall due to a driver issue with my graphics card this had to be turned off when I installed Windows 10).

I've found this article on the Ubuntu forums : [URL] .... however I've tried their steps and windows is still doing a hostile takeover of my EFI partion after a reboot!

Any way to stop Windows 10 from interfering with my EFI files after a reboot? (without doing the obvious thing and kill Windows off).

View 4 Replies View Related

Debian Installation :: Dual Boot UEFI - Grub Not Recognizing Drive

Mar 24, 2015

I've set up a dual boot system with Debian and Windows 8, both installed on their own drive, with their own boot partition. I installed eveything in UEFI-Mode with fast- and secure boot turned off. Both installations are working, as I can access them by changing the boot priority in the Bios. What I cannot achieve is to let grub boot my windows installation.

This is the output of parted -l:

Code: Select allModel: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  512MB  511MB   fat32                 boot
 2      512MB   111GB  111GB   ext4
 3      111GB   128GB  17,0GB  linux-swap(v1)

[Code] .... 

As you can see, my linux install is on sda, my windows install on sdc (sdb beeing a data disk). This is the entry I made in the 40_custom file in etc/grub.d:

Code: Select allmenuentry "Windows 8.1" {
insmod part_gpt
insmod chain
set root='(hd2,gpt2)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
}

I think this should be fine, but if I choose the windows entry wehen grub is booting, it says: error: no such partition. It's my first debian installation, and I am stuck here. Not too much of Linux experience in general.

View 12 Replies View Related

Debian Installation :: Squeeze- Grub Can't Dual Boot -ntoskrnl.exe Error

Jun 7, 2010

I cannot count how many times I have re-installed squeeze, and do all kinds of fixes to grub, but no joy. Every time, there is this ntoskrnl.exe error, and to re-install it. I thought my WIN XP may be corrupted, so I reinstalled it, and updated it with sp3 and all updates. Then I re-installed squeeze (reformatting all partitions). At the end, the installer ask if I want to install grub to mbr. I replied yes. After reboot, only the 2.6.32.3-amd64 and the recovery kernels show up on the grub screen, no winxp.OK, I booted into squeeze kernel and looked at the /boot/grub/grub.cfg file, and there winxp is not included in /etc/grub.d/30_os-prober section. In terminal, I typed

#os-propber and it found winxp in /dev/sda1
then I typed
#update-grub

and now /etc/grub.d/30_os-prober now show winxp.I rebooted, and winxp shows on the grub screen, and I chose winxp.It came back with "ntoskrnl.exe ...error... re-install ntoskrnl..."Here are the details:

fdisk -l
root@SHUM-AMD64:/home/shum# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders

[code]....

View 14 Replies View Related

Debian Installation :: No Dual Boot - Error: No Such Device And The Grub Rescue> Prompt

Jan 18, 2011

I had Ubuntu installed, i installed Debian and there was no dual boot. So i formated all the hard disk to install only Debian. It installed but at boot i get error: no such device and the grub rescue> prompt. i googled for a solution and nothing worked:

- i tryed reinstalling grub, not worked
- i did the windows cd fixmbr trick, not worked
- reinstalled debian with fixmbr the first step and nothing
- tryed deleting with dd the mbr, not worked
- reinstalled grub from debian rescue, not worked

what should i do? i can't access my computer? please tell me how should i fix it? the google guys will kill me because i put their servers on fire

View 14 Replies View Related

Fedora Installation :: Dual Booting Debian-12 / Edit /boot/grub/menu

Feb 18, 2010

Debian if my first OS and i want to dual boot Fedora12.Ok i installed Fedora12 and choose not to install the bootloader(gonna use the one Debian installed)What i'm tring to do in Debain is edit my /boot/grub/menu.lst
Here is what i have

Code:
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-1-686
code....

View 4 Replies View Related

Ubuntu Installation :: Dual Boot With Debian - Write /dev/sda1 To The Bootloader Rather Than /dev/hda1 Using Grub-mkconfig?

Aug 19, 2010

I installed Debian on my PC and then installed Ubuntu. This worked fine and I could dual boot between the two. The PATA disk was /dev/hda on debian and (I think) /dev/sda on Ubuntu. I copied the entire disk to a sata disk using dd from knoppix and put the PATA one to one side. Now the Ubuntu comes up fine but when I boot debian, it complains about references to /dev/hda1, which is present in grub - root=/dev/hda1. Debian now expects sda references rather than hda references. How do I persuade Ubuntu to write /dev/sda1 to the bootloader rather than /dev/hda1 using grub-mkconfig?

View 1 Replies View Related

Debian :: Recovering Grub After Windows Installation - Encrypted Partitions And LVM

Nov 4, 2010

I'm running Debian Squeeze AMD64 with full disk encryption and LVM. After reinstalling Windows 7 I lost GRUB from the MBR. I managed to install GRUB after following this guide and using an Ubuntu 10.04 graphical installation disc, but I only get to a GRUB CLI when booting, so I can't actually choose an OS there.

I tried following this guide but I'm stuck after "# Mount the partitions to /mnt/root" and don't know what to do.

Does anyone know how I can fix GRUB so I get to choose between Debian and Windows 7 there?

View 6 Replies View Related

Ubuntu Installation :: Win 7 Dual Boot - Revert Grub 2 To Grub 1?

Mar 26, 2010

So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?

View 7 Replies View Related

Debian :: Grub Boot Loader On A Dual Boot System?

Dec 16, 2010

This is the third time I try unsuccessfully to install Debian as a second OS on a hard drive. When it gets to the end of the installation process the installer asks whether I want to go ahead with the Grub Boot Loader, I choose yes. The end result is however that I can't boot that partition within the hard drive -- i.e., Debian. Can someone tell me what is going on? Should I not use the Grub Boot Loader when I have more than one operating system on a machine? Should I not install Grub on the Master Boot Record (MBR)?

View 3 Replies View Related

Ubuntu Installation :: Upgrading To Win 7 From Xp On Dual Boot Machine?

Aug 14, 2010

I am currently running Ubuntu Desktop 10.04 and windows xp in a dual-boot. I am looking to upgrade to windows 7 on the windows side soon but would rather not do a complete rebuild of the whole thing. The two are on separate hard drives so would i just install it on the Windows drive and then follow the instructions at [URL] or is there an easier way?

View 6 Replies View Related

Fedora Installation :: Reinstalling FC 10 On A Dual Boot Ubuntu - Machine ?

Mar 13, 2009

I'm trying to reinstall FC10 after a foolish mistake I've done that costed me operation of my Fedora partition (uninstalling SELinuxpolicycoreutils).

I have a dual boot Ubuntu - FC 10 machine and delete my old fedora partition with GParted. However when I try to install FC 10 from the live CD using the option "Use free space on selected drives and create default layout" I get the error message:

Could not allocate requested partitions:

Partitioning failed:

The following errors occurred with your partitioning:

You have not defined a root partition (/), which is required for installation of Fedora to continue.

This can happen if there is not enough space on your hard drive(s) for the installation.

Press 'OK' to choose a different partitioning option.

This is the output of fdisk -l :

Partition table entries are not in disk order

My last option is erase everything from my drive including the Ubuntu partition and start over the installation, something that I would like to avoid.

View 2 Replies View Related

Ubuntu Installation :: Remove From A Dual Boot Windows 7 Machine?

Nov 20, 2010

i have been out of the ubuntu loop for several months due to a motherboard problem. i am going to be getting a new 64 laptop for christmas, with a dual core intel processor and windows 7 home premium as the OS.

i am looking forward to having my own computer again will be installing ubuntu on it. but, before i install ubuntu, i would like to know how to remove ubuntu and return the new computer to its original state if it ever becomes necessary.

i was comforatable using programs such as mbrfix along with gparted to accomplish this task with my old computer, but that was a 32 bit windows xp machine.

will i be able to use these programs with my new laptop? i'm unfamiliar with 64 bit systems, windows 7 etc. and how they may differ from the older computer that i was used to.

View 3 Replies View Related

Ubuntu Installation :: Dual Boot Using Windows Boot Loader, Not GRUB?

Nov 8, 2010

I'm trying to dual boot Win7 and Ubuntu WITHOUT using Grub. This is to support Bitlocker encryption.

I followed this guide, and now when I select Ubuntu I get a Grub> prompt and no ubuntu.

I feel like I'm halfway there, I just need to get Grub to load correctly or something.

View 8 Replies View Related

Fedora Installation :: Dual Boot With Xp - Grub Can't Boot Into Windows?

Jan 10, 2010

I just set up a dual boot on a system with fedora 12 and XP. XP in on one hard drive (sda) and Fedora on a second hard drive (sdb).

I installed grub on the Fedora disk so as to not touch the windows disk at all.

Prior to installation, in the bios, I set the Fedora disk (sdb) first in the boot sequence, and then XP (sda) so that the grub loader would boot up by default. (If I set the windows drive first then the system bypasses grub and loads straight into windows.)

My system can now boot up into Fedora fine, but if I select windows from the grub loader menu I just get a blinking cursor - windows will not boot.What do I have to do so that grub can boot into XP?

View 7 Replies View Related

Debian :: Grub Corrupt After Dual Boot Install

Mar 22, 2015

Im currently not an linux expert so I turn to this forum after several attempts to fix my issue with grub.

I had a dualboot single HD with both win7 and win8.1 when I decided to install debian wheezy from usb.

I deleted the win7 partition and installed debian there. The partition scheme is separate /home

After reboot I automatically get into the "Grub rescue mode" and now I´m stuck.

I tried the commands:

set prefix=(hd0,msdosX)/boot/grub/
Insmod normal

I have msdos1, msdos3, msdos5 and msdos6 but nothing is listing anything from the grub rescue mode.

I get the "UNKNOWN FILE SYSTEM" error and cant get past that.

I also tried booting into rescue mode from usb iso install but nothing happens when choosing to repair GRUB.

The listed devices in rescue mode are:

/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda5
/dev/sda6
debian uses sdb 1-2 and sdb1 is the only option to Reinstall GRUB on but it gives me "Unable to install GRUB in /dev/sdb1 This is a fatal error" message
/dev/sdb1
/dev/sdb2

View 3 Replies View Related

Fedora Installation :: Dual Boot 13 Onto Windows 7 Machine - Can't Install Onto Unpartitioned Space

Sep 20, 2010

I am trying to dual boot Fedora 13 onto my Windows 7 machine. I have shrunk my Windows drive to create 100GB of unpartitioned space, but when trying to install Fedora onto this free space (it is recognized as "Free" space), the installer tells me that there is no space for the partition.

View 5 Replies View Related

Ubuntu Installation :: Grub Dual Boot - Cannot Boot Win 7

May 3, 2010

I updated from Ubuntu 9.10 to 10.04 via Ubuntu updater. Worked nicely. Until I had to use Win 7 for a moment, so I went to the Grub boot menu and picked Win 7. Nothing is happening. Just a black screen with blinking underscore to the top left corner. I never had this problem with 9.10, so I am confused. I tried looking around and nothing helped. Be noted that I am an amateur with Ubuntu coding and installing. I did hear that this is already a common issue now.

View 6 Replies View Related

Debian Installation :: Boot Freezes After Install On Encrypted Volume

Jan 1, 2016

I just installed Debian Testing on an encrypted partition (using the encryption feature in the installer). Problem is when I boot I enter the passphrase and then Debian starts to load a bit and then it stops and won't move again. During a normal boot the boot stops after : EDAC sbridge : Couldn't find mci handler Then do a recovery mode boot from grub loader so more information is displayed during the boot time and it stops after : [12.513770] fb: switching to nouveaufb from simple it stops there I can't type anything, I can reboot the computer with ctrl+alt+del tho

I was booting just fine in a previous installation on a MBR-partitioned disk (now it's GPT-partitioned). I have to add that during installation I added a second encrypted volume on a HDD (while / is on a SSD) that mounts to /data. When few days ago I installed it on the MBR-partitioned disk it asked me for the /data passphrase pretty fast, now it just seems to boot and asks me only one passphrase until it freezes.

View 1 Replies View Related

Debian Configuration :: Grub Config For Dual Boot (Identical But Independent)

Jan 3, 2016

I have a Jessie with grub2. I've bought ssd and copied root partition onto it. I've also installed grub on this disc. I would like to have dual boot:

- First option: old root booted from hdd
- second option: boot from copied ssd and use root from it.

So i would have two identical but independent configurations.

Both disc has different uids (changed after cloning).

I had a hope that i will change fstab to mount root partition from ssd, but it doesn't work. I need to change grub configuration, but how to add new position?

There is also problem that bios doesn't allow me to choose disc to boot from. So i would rather prefer to change grub configuration for dual boot from different disc.

View 8 Replies View Related

Ubuntu :: Installing Encrypted LVM On Dual Boot?

Jul 11, 2011

Is there a walk through guide for manual encrypted LVM creation? I tried once, but I didn't do it correctly.I have a partion that has windows 7, currently. I am trying to install ubuntu on an encrypted partiton, next. /boot needs to be unencrypted, but the swap and root partitions can be?

View 1 Replies View Related

Fedora Installation :: Unable To Set Up Grub / Dual Boot

Oct 1, 2010

I have win 7 and F13 installed on my computer but I am having trouble setting up dual boot so I can choose to boot F13 or win 7. I have tried to set up grub, how to install grub and set up a dual boot so I can use F13.

View 8 Replies View Related

Ubuntu Installation :: Grub Won't Dual Boot Vista But 10.04 OK

Mar 21, 2010

upgraded from 9.10 to 10.04 beta today.Ubuntu boots but not Vista boot info script info for my system as follows...Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #7 for /boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb

[code]...

View 2 Replies View Related

Ubuntu Installation :: Dual Boot XP And Kubuntu 10.10 GRUB?

Nov 20, 2010

My system has 2 hard drives, a 400gb master and a 250gb slave. sda (my main 400gb Windows drive) has XP on it. The slave (sdb) has 3 partitions:

sdb1 is for my downloads (NTFS ~180gb)
sdb2 has Kubuntu 8.10 installed (ext3, 60gb)
and sdb3 is the swap (3gb).

I want to do a destructive upgrade to Kubuntu 10.10 - I have the CD already and burnt. I know I have to select the partitions manually due to the complicated setup, I know I need to format the sdb2 partition to ext4, mount point /, and the swap can stay the same. On which hard drive should I install the bootloader? I can't remember where it is installed now, all I know is I had a lot of problems with the install.

View 9 Replies View Related

Ubuntu Installation :: Dual Boot With XP From The GRUB Menu?

Feb 23, 2011

I have Windows XP SP3 running on my Desktop PC and wish to dual boot it with Ubuntu 10.10. This isn't the issue as I can do this and it gives me the GRUB menu but selecting Windows XP won't do anything - or so it seems How long should it take to boot into Windows from the GRUB menu?

View 9 Replies View Related

Ubuntu Installation :: Grub For Dual Boot (with Windows 7 Pro)?

Jul 8, 2011

11.04 installed on free space I had setup but it didn't install Grub2 for a dual boot (with Windows 7 Pro). It may have gotten confused with my disk setup. Drives and their groupings (Windows lingo):

- Windows 7 Pro on C-drive (appears to be sdb2), it is a SSD
- The free space was setup on this SSD and Ubuntu is located on sdb5 (Linux) and sdb6 (swap space).
- Applications stored on D-drive (RAID0 with 2 small SSDs using RST (Intel Rapid Storage Technology).
- data on a RAID card using HDs in RAID0.

Small wonder it got confused, if that is the problem. I have a LiveCD I can use to boot, is that the best? What are the commands to install. Is there a better way?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved