View Issue Details

IDProjectCategoryView StatusLast Update
0003768Kali LinuxKali Package Bugpublic2018-01-29 13:38
Reporterkalab1998 Assigned Torhertzog  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Product Version2016.2 
Summary0003768: There is a bug of kali linux installer to set wrong paramater of root partition.
Description

Situation:
When I install kali linux to USB disk without LVM.

Affect:
The machine doesn't boot kali linux after installing use above USB disk.

/boot/grub/grub.cfg has a wrong setting about root partition after installing. Installer should handle UUID as a indicator of root file system instead a form like sdc1. See bellow.

$ diff grub.cfg.correct grub.cfg.wrong
133c133
< linux /boot/vmlinuz-4.6.0-kali1-amd64 root=UUID=84a2f7e1-8b0b-4b37-be98-611838906531 ro initrd=/install/initrd.gz quiet

linux /boot/vmlinuz-4.6.0-kali1-amd64 root=/dev/sdc1 ro initrd=/install/initrd.gz quiet
151c151
< linux /boot/vmlinuz-4.6.0-kali1-amd64 root=UUID=84a2f7e1-8b0b-4b37-be98-611838906531 ro initrd=/install/initrd.gz quiet

  linux   /boot/vmlinuz-4.6.0-kali1-amd64 root=/dev/sdc1 ro initrd=/install/initrd.gz quiet

168c168
< linux /boot/vmlinuz-4.6.0-kali1-amd64 root=UUID=84a2f7e1-8b0b-4b37-be98-611838906531 ro single initrd=/install/initrd.gz

  linux   /boot/vmlinuz-4.6.0-kali1-amd64 root=/dev/sdc1 ro single initrd=/install/initrd.gz

Thank you.

Steps To Reproduce

Just install to USB memory stick without LVM.

Additional Information

Nothing special.

Activities

rhertzog

rhertzog

2016-12-12 11:53

administrator   ~0006154

What ISO image did you use to install Kali?

Can you share the files from /var/log/installer in the problematic system?

Thank you.

kalab1998

kalab1998

2016-12-12 23:32

reporter   ~0006156

ISO image I used is kali-linux-2016.2-amd64.iso
$ sha1sum kali-linux-2016.2-amd64.iso
25cc6d53a8bd8886fcb468eb4fbb4cdfac895c65 kali-linux-2016.2-amd64.iso

and /var/log/installer is uploaded to my Dropbox.
https://www.dropbox.com/s/cg38mhysyt7i3ow/installer.tar.bz2?dl=0

Check please, thank you.

rhertzog

rhertzog

2017-03-16 16:57

administrator   ~0006505

Ok, I have this on a fresh install as well. But if I run update-grub after install, then I get a grub.cfg with UUID.

I'm not sure what explains this behaviour but I'm also not convinced that we need to dig deeper. Does your machine fail to boot due to usage of /dev/sdc1 instead of the corresponding filesystem UUID?

kalab1998

kalab1998

2017-05-29 06:18

reporter   ~0006761

Sorry for late reply.

Yes. my laptop's storage configuretion was below:

When installing
(1) /dev/sda: internal SSD storage. (not used while installing)
(2) /dev/sdb: USB memory stick written kali-linux install image.
(3) /dev/sdc: USB memory stick to be installed

after installing
(3) /dev/sdc ==> /dev/sda (because of boot up media)
(1) ?
(2) removed from the laptop

So, it didn't boot up from (3) USB memory stick..

g0tmi1k

g0tmi1k

2018-01-29 13:38

administrator   ~0008311

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2016-12-12 08:09 kalab1998 New Issue
2016-12-12 11:53 rhertzog Assigned To => rhertzog
2016-12-12 11:53 rhertzog Status new => feedback
2016-12-12 11:53 rhertzog Note Added: 0006154
2016-12-12 23:32 kalab1998 Note Added: 0006156
2016-12-12 23:32 kalab1998 Status feedback => assigned
2017-03-16 16:57 rhertzog Status assigned => feedback
2017-03-16 16:57 rhertzog Note Added: 0006505
2017-05-29 06:18 kalab1998 Note Added: 0006761
2017-05-29 06:18 kalab1998 Status feedback => assigned
2018-01-29 13:38 g0tmi1k Status assigned => closed
2018-01-29 13:38 g0tmi1k Resolution open => suspended
2018-01-29 13:38 g0tmi1k Note Added: 0008311