On Fri 21 Aug 2015 at 18:21:47 +0200, Hans wrote:

> Dear list,
> 
> I am rather despaired as I cannot boot into my debian system again.
> 
> What happened? On my first harddrive I have debian/testing with /usr and /var 
> encrypted.
> 
> Then I installed kali-linux on my second harddrive into one partition.
> 
> During this installation my kali-installation overwrote my existing grub2 
> configurations of the first harddrive and this let me no more boot into the 
> debian system.
> 
> I checked and I found out, after the decrypt of /usr the system hangs at the 
> message /scripts/local-premount.
> 
> IMO the kernel or whatever does not find the correct partitions, so that they 
> can be opened and mounted.

I know nothing about encrypted partitions and how you have them set up.

> If I start kali-linux, it is starting, but neither grub-install nor update-
> grub let detect the debian system. However, the debian installation is seen, 
> but it will not boot due to the wrong paths.
> 
> I am now working for hours on it, but find no way to get rid of the wrong 
> entries. From the kali system I could edit the debian partitions, if needed.
> 
> The debian partitions were not changed, except maybe thos with grub2 involved.
> 
> I would be happy if someone could help me. Of course I tried rescue mode with 
> the debian installation disks, unfortunately it is not possible to open the 
> encrypted partitions due to missing necessary options or files in the rescue 
> system.
> 
> Thank you very much for any help, I am rather despaired what I can still do.

When the kali GRUB menu comes up press "c". "ls" gives you which partitions
GRUB has found. "ls -l" will give you more information on each partition.

Suppose you find out or know Debian is on (hd0,msdos1). then:

  set root=(hd0,msdos1)
  linux /vmlinuz root=/dev/sda1
  initrd /initrd.img
  boot

All commands and file names auto-complete. (Press TAB).

Reply via email to