Re: restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-12 Thread yudi v
 W7 does not mangle the mbr any longer. After install, go to debian and run
 update-grub to get a bootable W7.
 Thierry

 This is incorrect.

Win 7 will definitely wipe out GRUB.

There are several ways to restore GRUB. It really depends on how one
configured his setup.
I had the following configuration:

sda1 - win7
sda2 - /boot
sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
sda5 - FAT32

to restore GRUB I used the Debian DVD installer disk.
choose:
Advanced options 
rescue mode or Graphical rescue mode 
From the Debian installer main menu choose enter rescue mode
then it prompted me for my passphrase for sda3
then it listed all the partitions/LVs/LUKS partitions and asked me to choose
the root file system
selected the LV with /
then selected execute a shell in root filesystem

this is where I got confused.

I did not mount /boot as it was on a separate partition and was getting
errors.
Mounting sda2 at /boot fixed the issue.

the following two commands were the only ones I had to execute to get back
GRUB.

mount /dev/sda2 /boot
grub-install /dev/sda

all done.

rebooted and everything was back to normal.

I hope this helps anyone with the same issue.
-- 
Kind regards,
Yudi


Re: restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-12 Thread yudi v
 W7 does not mangle the mbr any longer. After install, go to debian and run
 update-grub to get a bootable W7.
 Thierry

 This is incorrect.

Win 7 will definitely wipe out GRUB.

There are several ways to restore GRUB. It really depends on how one
configured his setup.
I had the following configuration:

sda1 - win7
sda2 - /boot
sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
sda5 - FAT32

to restore GRUB I used the Debian DVD installer disk.
choose:
Advanced options 
rescue mode or Graphical rescue mode 
From the Debian installer main menu choose enter rescue mode
then it prompted me for my passphrase for sda3
then it listed all the partitions/LVs/LUKS partitions and asked me to choose
the root file system
selected the LV with /
then selected execute a shell in root filesystem

this is where I got confused.

I did not mount /boot as it was on a separate partition and was getting
errors.
Mounting sda2 at /boot fixed the issue.

the following two commands were the only ones I had to execute to get back
GRUB.

mount /dev/sda2 /boot
grub-install /dev/sda

all done.

rebooted and everything was back to normal.

I hope this helps anyone with the same issue.
-- 
Kind regards,
Yudi


restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-11 Thread yudi v
Hi

I will be installing Windows7 along side Debian on a 4 KB sector hard drive.
Debian's configured with LVM on top of LUKS.
From what I understand I can restore GRUB using the Debian install disk by
going in to the advanced options and choosing rescue mode.
What are the potential issues I need to be aware of before restoring GRUB
using the Debian DVD install disk?
-- 
Kind regards,
Yudi


Re: restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-11 Thread Thierry Chatelet
On Thursday 11 August 2011 13:41:18 yudi v wrote:
 Hi
 
 I will be installing Windows7 along side Debian on a 4 KB sector hard
 drive. Debian's configured with LVM on top of LUKS.
 
 From what I understand I can restore GRUB using the Debian install disk by
 
 going in to the advanced options and choosing rescue mode.
 What are the potential issues I need to be aware of before restoring GRUB
 using the Debian DVD install disk?

W7 does not mangle the mbr any longer. After install, go to debian and run 
update-grub to get a bootable W7.
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201108111727.26628.tchate...@free.fr