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

Bug#285898: marked as done (Fails to install on root partition when another boot loader is used)

Your message dated Sat, 08 Jan 2011 10:35:52 +0000
with message-id <1294482952.2463.6.camel@eeepc.Belkin>
and subject line 
has caused the Debian Bug report #285898,
regarding Fails to install on root partition when another boot loader is used
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

285898: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285898
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports


Debian-installer-version: netinst CD image RC2
24/11/2004 www.debian.org
uname -a: Linux solaria 2.4.27-1-386 #1 Fri Sep 3
06:24:46 UTC 2004 i686 GNU/Linux
Date: 15/12/2004
Method: How did you install?  from network
	What did you boot off?  cdrom 
	If network install, from where? ftp.it.debian.org
	Proxied? No

Machine: Assembled
Processor: Intel P3 800MHz
Memory: 512 Mb
Root Device: IDE IBM Deskstar 30 Gb IC35L030AVER07-0
Root Size/partition table:  

Disk /dev/hda: 30.7 GB, 30738677760 bytes
255 heads, 63 sectors/track, 3737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id
/dev/hda1   *           1         382     3068383+   7
/dev/hda2             383        3737    26949037+   5
/dev/hda5             383         996     4931923+   7
/dev/hda6             997        1573     4634721   83
/dev/hda7            1574        1765     1542208+  83
/dev/hda8            1766        1831      530113+  82
 Linux swap
/dev/hda9            1832        3106    10241406    7
/dev/hda10           3107        3358     2024158+  83
/dev/hda11           3359        3609     2016126   83
/dev/hda12           3610        3736     1020096    7
/dev/hda13           3737        3737        8001   78

with /dev/hda6 mounted as / and /dev/hda7 mounted as

Output of lspci and lspci -n:

solaria:~# lspci
0000:00:00.0 Host bridge: Intel Corp. 82815 815
Chipset Host Bridge and Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset
AGP Bridge (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge
(rev 02)
0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA
Bridge (LPC) (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE
U100 (rev 02)
0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM
USB (Hub #1) (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev
0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM
USB (Hub #2) (rev 02)
0000:01:00.0 VGA compatible controller: Matrox
Graphics, Inc. MGA G400 AGP (rev 82)
0000:02:0a.0 Multimedia audio controller: Creative
Labs SB Live! EMU10k1 (rev 05)
0000:02:0a.1 Input device controller: Creative Labs SB
Live! MIDI/Game Port (rev 05)
0000:02:0c.0 FireWire (IEEE 1394): VIA Technologies,
Inc. IEEE 1394 Host Controller (rev 46)
0000:02:0e.0 Ethernet controller: 3Com Corporation
3c905B 100BaseTX [Cyclone] (rev 30)

solaria:~# lspci -n
0000:00:00.0 0600: 8086:1130 (rev 02)
0000:00:01.0 0604: 8086:1131 (rev 02)
0000:00:1e.0 0604: 8086:244e (rev 02)
0000:00:1f.0 0601: 8086:2440 (rev 02)
0000:00:1f.1 0101: 8086:244b (rev 02)
0000:00:1f.2 0c03: 8086:2442 (rev 02)
0000:00:1f.3 0c05: 8086:2443 (rev 02)
0000:00:1f.4 0c03: 8086:2444 (rev 02)
0000:01:00.0 0300: 102b:0525 (rev 82)
0000:02:0a.0 0401: 1102:0002 (rev 05)
0000:02:0a.1 0980: 1102:7002 (rev 05)
0000:02:0c.0 0c00: 1106:3044 (rev 46)
0000:02:0e.0 0200: 10b7:9055 (rev 30)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] =
didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [E]
Reboot:                 [O]


The only recurring problem I have with Sarge installer
is with the GRUB installation step.

Since I use XOSL or NT boot loader as my boot manager,
I always choose not to install GRUB on the MBR, 
but I install it on the root partition instead.

It fails when trying to install for the first time on
the root partition, no matter if
I specify the partition in kernel format (/dev/hdaX)
or in GRUB format (hd0,X-1).

After a few retries (sometimes just one), it works
correctly if I specify the partition 
in a format different than the one I used the first
time. For example:

first try : using /dev/hda6 -> GRUB install fails
second try: using (hd0,5)   -> GRUB installs


first try : using (hd0,5)   -> GRUB install fails
second try: using /dev/hda6 -> GRUB installs

That's quite weird!! 

Having a look at the installer logs, grub errors with
the following message:

Error 6: Mismatched or corrupt version of

I am sure I can replicate the error at will and on
different machines.

Here an excerpt from the debian installer messages log

The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not
Need to get 0B/350kB of archives.
After unpacking 750kB of additional disk space will be
Selecting previously deselected package grub.
(Reading database ... 10002 files and directories
currently installed.)
Unpacking grub (from
.../grub_0.95+cvs20040624-10_i386.deb) ...
Setting up grub (0.95+cvs20040624-10) ...
Probing devices to guess BIOS drives. This may take a
long time.

    GNU GRUB  version 0.95  (640K lower / 3072K upper

 [ Minimal BASH-like line editing is supported.  For
the first word, TAB
   lists possible command completions.  Anywhere else
TAB lists the possible
   completions of a device/filename. ]
grub> root (hd0,5)
 Filesystem type is reiserfs, partition type 0x83
grub> setup  --stage2=/boot/grub/stage2
--prefix=/boot/grub (hd0,5)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/reiserfs_stage1_5" exists...
 Running "embed /boot/grub/reiserfs_stage1_5
(hd0,5)"...  18 sectors are embedded.
 Running "install --stage2=/boot/grub/stage2
/boot/grub/stage1 (hd0,5) (hd0,5)1+18 p
(hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"...

Error 6: Mismatched or corrupt version of
grub> quit
Reading Package Lists...
Building Dependency Tree...
grub is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not
Probing devices to guess BIOS drives. This may take a
long time.
Installation finished. No error reported.
This is the contents of the device map
Check if this is correct or not. If any of the lines
is incorrect,
fix it and re-run the script `grub-install'.

(hd0)	/dev/hda
Searching for GRUB installation directory ... found:
/boot/grub .
Testing for an existing GRUB menu.list file... 

Could not find /boot/grub/menu.lst file. Would you
like /boot/grub/menu.lst generated for you? (y/N)
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.4.27-1-386
Updating /boot/grub/menu.lst ... done


Install logs and other status info is available in
Once you have filled out this report, mail it to

Paolo Marzucco

Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica? Scaricalo ora! 

--- End Message ---
--- Begin Message ---
This bug was fixed a long time ago with grub2 transition and uuid.
There were other reports of the same issue confirmed as fixed.
If you experience any problem in the latest debian installer release
(Squeeze Beta2) please send us an installation report.

Melhores cumprimentos/Best regards,

Miguel Figueiredo

--- End Message ---

Reply to: