Unable to Boot Into Current Windows 10 or Ubuntu 15.10 after Cancelling a Ubuntu 16.04 Installation - Ask Ubuntu
a. background
i trying install 16.04 using bootable disk on machine dual boots windows 10 , ubuntu 15.10.
this machine's factory os windows 8.
b. here's did before boot problems
- while configuring set up, selected option erase , install ubuntu
- i reached step have selected encrypt disk, left erase checkbox unticked. supplied password , pressed continue.
- at stage, cancelled set rebooting. haven't reached actual installation process.
c. here's happens after
now, can't boot either windows 10 or ubuntu 15.10. no bootable disks recognized.
from bios setup, can see network boot options , 16.04 bootable disk, if it's inserted usb slot.
booting 16.04 bootable disk via try ubuntu or install ubuntu both returns...
kernel panic - not syncing: vfs: unable mount root fs on unknown-block(1,0) cpu: 6 pid: 1 comments: swapper/0 not tainted 4.4.0-31-generic #50-ubuntu hardware name: ... call trace: ...dump_stack ...panic ...mount_block_root ...mount_root ...prepare_namespace ...kernel_init_freeable ...? rest_init ...kernel_init ...ret_from_fork ...? rest_init kernel offset: disabled end kernel panic - not syncing: vfs: unable mount root fs on unknown-block(1,0)
i tried access grub command line via same 16.04 bootable disk. can see have hd0, hd1, , hd2. hd2 looks 1tb hdd split windows 10 partition , ubuntu 15.10 partition. now, still see partitions intact ls (hd2, returns error. says:
possible partitions are: device hd2: error: file '/boot/grub/x86_64-efi/tar.mod' not found. error: file '/boot/grub/x86_64-efi/sfs.mod' not found. error: file '/boot/grub/x86_64-efi/nilfs2.mod' not found. error: file '/boot/grub/x86_64-efi/minix.mod' not found. error: file '/boot/grub/x86_64-efi/afs.mod' not found. error: file '/boot/grub/x86_64-efi/affs.mod' not found. no known filesystem detected - sector size 512b - total size 976762584kib partition hd2,gpt1: filesystem type fat, uuid... - partition start @ 1024kib... total size 499712kib partition hd2,gpt2: filesystem type extra* - last modification time... , uuid... - partition start @ 525312kib... total size 499712kib partition hd2,gpt3: no known filesystem detected - partition start @ 1025024kib - total size 975736832kib
d. steps have applied far
disable secure boot. result: didn't see behavior change in boot process
use cryptomount in grub.
section b.2. above, apparently applied @ once though actual ubuntu installation hasn't started. confirmed mounting disk, follows in grub cli:
grub> insmod luks grub> cryptomount -a attempting decrypt master key... enter passphrase hd2, gpt3...: slot 0 opened
the passphrase used here same 1 provided in section b.2. above.
now, when perform ls (, can see: crypt0, proc, memdisk, hd0, hd1, , hd2.
i don't know should next mount working os (whether live 16.04 usb or current windows or 15.10 os)
these guesses: looks reason boot not detected because disk encrypted. not recognized since module responsible ask passphrase , decrypt disk somehow not being loaded first.
after cryptomount above, mount using mode normal
grub> set root=(crypt0) grub> insmod normal grub> normal
i got greeted again grub bootloader. tried try ubuntu, returning following error:
error: no server specified. allow magic broken at... aborted. press key exit.
after pressing key, goes bios asking boot options.
any configuration have missed?
e. here's hope fix
my priority have access windows files again. copying files can read using separate machine should sufficient.
being able boot windows 10 os great (but not necessary question)
with great security comes great responsibility...
while doing encryption, stopped (probably rebooting) have partially encrypted disk.
the best thing can right to:
- wipe dban
- re-install
- restore back-up
if don't have backup:
- buy 2 new hdd,
- install ubuntu on one,
dd
partially encrypted hdd second new one- try recovering copy of partially encrypted 1 using:
- testdisk
- recuperabit (useful copying files ntfs partition)
- know it'll tedious job reconstructing files hand.
- make copy original damaged 1 , restart process unencrypt volume recover encrypted files.
why?
you don't want damage damaged disk further, that's why need new hdd install ubuntu on , 1 make copy , work on copy if make mistake can go back.
you need repeat process twice:
- once recover encrypted files
- once unencrypted files.
Comments
Post a Comment