Bug#457409: marked as done (debian-installer: GRUB config needs to use UUIDs to avoid boot failure on Sun x4100 M2 (Galaxy))
Your message dated Wed, 08 Sep 2010 03:58:28 +0000
with message-id <E1OtBno-0005ey-HC@ravel.debian.org>
and subject line Closing old installation report #457409
has caused the Debian Bug report #457409,
regarding debian-installer: GRUB config needs to use UUIDs to avoid boot failure on Sun x4100 M2 (Galaxy)
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.)
--
457409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457409
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: debian-installer: GRUB config needs to use UUIDs to avoid boot failure on Sun x4100 M2 (Galaxy)
- From: Chris Adams <cadams@salk.edu>
- Date: Fri, 21 Dec 2007 22:58:13 -0800
- Message-id: <20071222065813.9596.22147.reportbug@node56.hydra.snl.salk.edu>
Package: debian-installer
Severity: normal
We have a number of Sun x4100 M2 systems and have run into a significant
problem triggered by the newer ILOM service processors. The SPs provide a nifty
remote CD-over-network feature as part of their KVM function; unfortunately
this results in a race condition on newer kernels since /dev/sda might be the
first SCSI/SATA hard drive or the virtual CD-ROM.
The solution is to use UUIDs but the Etch installer doesn't appear to support
them. I ran into two problems which made this hard than it looks:
1) /dev/disks/by-uuid isn't available in the install kernel (at least for
etch/amd64)
2) Even after creating the link grub's findfs will insist that the specified
UUID is invalid unless you use /sbin/blkd to read the UUID first. I'm
guessing this causes something to refresh before findfs queries it.
Here's the process in our preseed/late-command script - it has a hardcoded
dependency on /dev/sda1 (which should be easy to fix) and I haven't
exhaustively tested it but this does work on both our real nodes and a test VM;
omitting any step below causes it to fail:
# Determine the UUID:
UUID=`/lib/udev/vol_id -u /dev/sda1`
# Create the /dev/disks/by-uuid link within /target
if [ ! -d /target/dev/disks/by-uuid/$UUID ]; then
mkdir -p /target/dev/disks/by-uuid
chroot /target ln -s /dev/sda1 /dev/disks/by-uuid/$UUID
fi
# Do an in-place conversion for the device name to UUID
chroot /target sed -i "s/\/dev\/sda1/UUID=$UUID/" /boot/grub/menu.lst /etc/fstab
# NOTE: while printing the UUID is useless, blkid MUST be run for update-grub to work!
chroot /target /bin/sh -c "/sbin/blkid blkid /dev/sda1 -s UUID -o value; /usr/sbin/update-grub"
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
--- End Message ---
--- Begin Message ---
We are closing this installation report for one of the following
reasons:
- it was reported with a pre-lenny version of Debian
Installer.
- indications in the installation report give the feeling that
the reported problem waslying in another software, unrelated to
D-I, which we can't easily identify.
- indications in the installation report suggest that it may have been
fixed in a more recent version of a D-I component
- it was successful and we forgot closing it..:-)
- it has no information we consider useful
The D-I team is currently in the process of cleaning out the old spool
of installation reports that haven't bene processed yet.
In case you think that the problem you reported has chances to be
still present, please reiterate your installation test with
a more recent image of D-I, if you're in position of doing this.
You'll find daily builds at
http://www.debian.org/devel/debian-installer. We recommend you choose
the netboot image, in the "daily builds section", then choose to
install "squeeze" when prompted.
If some problems are found, please report them with a new bug sent
against installation-reports.
Many thanks for your understanding and your help improving Debian,
past and present.
--- End Message ---
Reply to: