[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#852323: debian-installer: grub-installer not convert root= entry to UUID




Hi guys.

I can confirm that this bug in fact occurs. I am using the official netinst media (debian-9.2.0-amd64-netinst.iso, MD5: fdf1905e3fa321e0b930e47bcbc4d1e2) to install a Dell R730 server -- which will be used as a Xen virtualization host -- all the VMs in the virtualization structure.

I *all* cases -- physic and virtual machines -- the installation finishes without any reference to UUIDs in /boot/grub/grub.cfg. If I only run 'update-grub' the 'root=' clauses are updated to use UUIDs.

Additionally, the /etc/fstab appears to be correctly configured with the UUIDs, as one would expect.

===================================================================================

# grep root= /boot/grub/grub.cfg

set root='hd1,msdos2'
	set root='hd1,msdos2'
	linux	/boot/vmlinuz-4.9.0-4-amd64 root=/dev/sdb2 ro  quiet
		set root='hd1,msdos2'
		linux	/boot/vmlinuz-4.9.0-4-amd64 root=/dev/sdb2 ro  quiet
		set root='hd1,msdos2'
		linux	/boot/vmlinuz-4.9.0-4-amd64 root=/dev/sdb2 ro single
# update-grub

Generating grub configuration file ...
Imagem Linux encontrada: /boot/vmlinuz-4.9.0-4-amd64
Imagem initrd encontrada: /boot/initrd.img-4.9.0-4-amd64
concluído

# grep root= /boot/grub/grub.cfg

set root='hd1,msdos2'
	set root='hd1,msdos2'
linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=fec2345a-1188-4f2d-ad47-b9a808fe280a ro quiet
		set root='hd1,msdos2'
linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=fec2345a-1188-4f2d-ad47-b9a808fe280a ro quiet
		set root='hd1,msdos2'
linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=fec2345a-1188-4f2d-ad47-b9a808fe280a ro single

# cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb2 during installation
UUID=fec2345a-1188-4f2d-ad47-b9a808fe280a / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=67A3-323A  /boot/efi       vfat    umask=0077      0       1
# /var/log was on /dev/sdb3 during installation
UUID=5e3c4cab4-278d-435e-a5b9-d56a7baf225a /var/log ext4 defaults 0 2
# swap was on /dev/sdb4 during installation
UUID=27416194-409c2-4eb9-91a7-a73e050aef91 none swap sw 0 0
/dev/sr1        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr0        /media/cdrom1   udf,iso9660 user,noauto     0       0

===================================================================================

Hope you find what is happening.



Atenciosamente,
Leonardo Lopes
DITIC/CEFET-MG


--
Esta mensagem foi verificada pelo sistema de antivírus e
acredita-se estar livre de perigo.


Reply to: