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

Bug#668923: marked as done (debian-installer: Installing grub fails: /boot on raid1; / on lvm2 on dm-crypt on raid)



Your message dated Sat, 30 Oct 2021 18:30:54 +0200
with message-id <[🔎] 20211030183054.906cb9aac22395d0f32a6a86@mailbox.org>
and subject line Mass-closing old grub-installer bugs
has caused the Debian Bug report #668923,
regarding debian-installer: Installing grub fails: /boot on raid1; / on lvm2 on dm-crypt on raid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
668923: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668923
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: testing
Severity: important

Dear Maintainer,

   * What led up to the situation?
	I tried installing Debian using the partition layout provided in the gentoo wiki: http://en.gentoo-wiki.com/wiki/Root_filesystem_over_LVM2,_DM-Crypt_and_RAID
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
	I went through the steps of debian-installer, configured the partitions like described above.
	This is the output of gdisk (its for /dev/sda , but /dev/sdb is the same)
GPT fdisk (gdisk) version 0.8.2

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 853F5A88-B593-4BFC-88BC-DC825FB9BD90
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02  
   2            4096          585727   284.0 MiB   FD00  
   3          585728      1953525134   931.2 GiB   FD00  

   * What was the outcome of this action?
	Grub install failed with an fatal error ( http://pastebin.com/2akhkUCR )
	I tried around a little bit and discovered that the boot partition wasn't mounted at /target/boot while all other partitions were mounted at there respective place in /target.
	Instead there was just a folder /target/grub with all the files that should have been gone to the boot partition.
	After moving that folder to /target/bootbak, creating /target/boot, mounting /dev/md0 (the boot partition) there, copying all files from bootbak to boot (which is probably unnecessary) debian-installers "Install Grub bootloader" worked :)
	So probably debian-installer missed mounting /dev/md0 to /target/boot so grub install failed.
   * What outcome did you expect instead?
	Grub should have been installed without problems / the boot partition should have been mounted at /target/boot automatically

This problem occured as well with debian stable (but in a vm) and I didn't check whether the missing boot partition was the root of the problem there as well.
In my "real-world" installation the error occured both, with the above described partition setup and one with msdos partitiontable. But same goes here, I didn't check whether the missing boot partitin caused the problem there as well.

Furthermore /dev/md0 /boot was missing in /fstab. Instead the usb stick I installed from was in there to mount to /mnt/usb1 (or another number, can't remember).



-- System Information:
Debian Release: wheezy/sid (<-- I'm using testing, dont know what the sid does there, reportbug created this section..)
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Hi,

similar to the installation-reports bugs, I'm closing the grub-installer reports 
below.

These are reports for Debian 4 / 6 / 7 / 9 where grub-installer fails (for 
various reasons).


There have been numerous changes/improvements on this topics in the past, and 
also because of the age of the reports we should consider these problems as 
being fixed (or it is even reported in the bugs that they are fixed).
They are most likely of no use anymore for recent releases.

If you know, that the issue you reported (and gets closed here) is still 
existing in recent installation images, please file a new report for that with 
up-to-date details!

Thank you for filing these bug reports, they have been very useful at the time 
they were filed!


https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785149
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489005
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610116
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611713
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612420
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621923
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647267
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659116
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665856
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666552
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668923
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686955
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690515
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690592
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702731
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729411
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771467
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780115
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806164
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806849
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416986
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252009
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292513
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310798
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391489
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489006
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578338
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582367
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229128
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463842
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497168
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500079
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516392
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520361
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544949
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549703
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557242
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580461
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587699
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588670
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596877
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612025
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618498
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639713
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666559
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699456
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703901
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707604
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711330
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609939
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498831


Cheers
Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: