I just managed to install a dual boot for Kali Linux and Windows 7. So I can choose to start from my secondary disk, where GRUB finds place, can chooce Kali and everything works fine. The problem: It's only working fine, when a USB-Stick is inserted. I know it sounds weird, but its true...
I installed Kali with a image burned to USB-stick with Rufus. Install progress went fine, no problems at all, but now, I can only start Kali when "A" usb stick is inserted, I don't say when "THE" usb stick is inserted, it can be ANY usb stick, I completely formatted the usb stick, I tried another one, it doesn't mind, it just has to be one and exactly one usb stick inserted (if I plug in a second one, it's again not working), the error I get says something like sdb3 not found
. And I already got behind the problem. Kali always mounts the USB-Stick to sda
, the partition with Kali partitions on is sdb
and another partition on another disk is on sdc
(doesn't mind for Kali).
Now I guess, that Kali tries to find the partition under sdb3
, but if my usb-stick is not plugged in, it would be sda3
.
I hope you understand what I mean.
This is a picture of the sdb
disk.
So again, it seems, that Kali always tries to boot from sdb
, but as I plug in the usb-stick, sdb
is something different then without the usb-stick.
How can I change this? I'm really wondering why it's referencing on the identifier sdb
instead of really referencing to the disk itself.
So what can I do against this, so I don't have to start with a usb-stick inserted?
Edit: The output of lsblk
is the following:
And honestly I'm a bit confused about the thing behind
sda1
, because I completely formatted that device...
Edit2: running grub install gives me the following error:
Output of parted-l
Model: SanDisk Extreme (scsi)
Disk /dev/sda: 62.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.8kB 3020MB 3020MB primary boot, hidden
2 3020MB 3021MB 721kB primary
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 134MB 134MB msftres
2 135MB 2162GB 2162GB ntfs Basic data partition msftdata
3 2162GB 2980GB 818GB ext4 Basic data partition msftdata
4 2980GB 2992GB 12.6GB linux-swap(v1) Basic data partition msftdata
5 2992GB 3001GB 8389MB ntfs Basic data partition msftdata
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 500GB 500GB primary ntfs boot
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
simply outputs BIOS
Failed to mount (or find, not sure) sbd3, falling back to a shell
, and then I have a shell, where I can enter few commands. – nameless Nov 15 '17 at 12:12lsblk
executed from kali. Do you have 2 disks in your machine? – bu5hman Nov 15 '17 at 12:16parted -l
and[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
and please not as picture. – Nov 15 '17 at 13:58grub install
command made it not startable any more, once booting in grub I'm getting ainvalid license
error, I'll try reinstalling Kali now, the 3rd time... – nameless Nov 15 '17 at 14:04boot
flag from the usb stick, but doesn't change anything... – nameless Nov 15 '17 at 15:17