Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125382 - partitioning bug in installer
Summary: partitioning bug in installer
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 10:57 UTC by Martin Strack
Modified: 2006-03-24 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Strack 2006-03-07 10:57:56 UTC
The Installer (console and GUI) of the 2006.0 LiveCD doesn
Comment 1 Martin Strack 2006-03-07 10:57:56 UTC
The Installer (console and GUI) of the 2006.0 LiveCD doesn´t set a partition active when installing with the recomandet setup on a absolutely clean disk, so the system will not reboot. I had to set bootflag on /boot manualy to set partition active and boot the system.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-07 10:59:33 UTC
Ooh, I don't think we ever considered that. I assume you didn't select "Install in MBR" for the bootloader.
Comment 3 Martin Strack 2006-03-07 11:11:37 UTC
(In reply to comment #1)
> Ooh, I don't think we ever considered that. I assume you didn't select "Install
> in MBR" for the bootloader.
> 

I
Comment 4 Martin Strack 2006-03-07 11:11:37 UTC
(In reply to comment #1)
> Ooh, I don't think we ever considered that. I assume you didn't select "Install
> in MBR" for the bootloader.
> 

I´m absolutely shure I´ve selected it. I´ve even done this manually once again, to be shure, grum is in MBR. But I´l test it once more
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-07 11:36:37 UTC
If grub is in the MBR, the /boot partition does not need to be marked as active. Only a MSDOS MBR required the boot partition to be marked active so it knows where to jump to next.
Comment 6 Preston Cody (RETIRED) gentoo-dev 2006-03-07 17:27:38 UTC
this is likely an issue of accidentally installing grub to the wrong drive or a case where BIOS isn't set to boot the drive.  If install to MBR is selected, the partition will always be bootable.  please look into the issue further and get back to us with more information.  if you get your system bootable, your installation log should be in /var/log/installer.log on your new system.  attach that to this bug to help us diagnose this issue.
Comment 7 Martin Strack 2006-03-10 08:45:05 UTC
ok, after further testing I have a litle result. I
Comment 8 Martin Strack 2006-03-10 08:45:05 UTC
ok, after further testing I have a litle result. I´ve testet the installer on another pc and had exactly the same problem. So I decidet to do one more test, and  did the harddisk of the testpc in my desktoppc, after powering on the system was booting (until the kernel hung up,but that was the problem of only changing the harddisk and no bug). So i think the 2 testpc´s aren´t able to boot, because they both have an old BIOS.

here´s the logfile:

GLI: March 07 2006 21:00:44 - Setting root password.
GLI: March 07 2006 21:00:47 - Livecd root password set.
GLI: March 07 2006 21:00:58 - Portmap started.
GLI: March 07 2006 21:00:58 - Completed pre_install steps
GLI: March 07 2006 21:04:10 - partitioning: Processing /dev/hda...
GLI: March 07 2006 21:04:10 - Partitioning: Second pass...
GLI: March 07 2006 21:04:10 - Partitioning: Third pass....creating partitions
GLI: March 07 2006 21:04:10 -   Drive has 12504240 sectors
GLI: March 07 2006 21:04:10 -   Partition 1 has 100MB
GLI: March 07 2006 21:04:10 -     Start sector calculated to be 0
GLI: March 07 2006 21:04:10 -     End sector calculated to be 204800
GLI: March 07 2006 21:04:10 -   Adding primary partition 1 from 0 to 204800
GLI: March 07 2006 21:04:11 -   Formatting partition 1 as ext2 with: mkfs.ext2  /dev/hda1
GLI: March 07 2006 21:04:11 - Try 1 failed formatting partition /dev/hda1...waiting 5 seconds
GLI: March 07 2006 21:04:16 -   Formatting partition 1 as ext2 with: mkfs.ext2  /dev/hda1
GLI: March 07 2006 21:04:17 -   Partition 2 has 244MB
GLI: March 07 2006 21:04:17 -     Start sector calculated to be 204801
GLI: March 07 2006 21:04:17 -     End sector calculated to be 704513
GLI: March 07 2006 21:04:17 -   Adding primary partition 2 from 204801 to 704513
GLI: March 07 2006 21:04:18 -   Formatting partition 2 as linux-swap with: mkswap  /dev/hda2
GLI: March 07 2006 21:04:18 -   Partition 3 has 5761MB
GLI: March 07 2006 21:04:18 -     Start sector calculated to be 704514
GLI: March 07 2006 21:04:18 -     End sector calculated to be 12503042
GLI: March 07 2006 21:04:18 -   Adding primary partition 3 from 704514 to 12503042
GLI: March 07 2006 21:04:19 -   Formatting partition 3 as ext3 with: mkfs.ext3  /dev/hda3
GLI: March 07 2006 21:04:44 - Mounted mountpoint: /
GLI: March 07 2006 21:04:48 - Created mountpoint /boot
GLI: March 07 2006 21:04:48 - Mounted mountpoint: /boot
GLI: March 07 2006 22:09:25 - Stage3 was generated successfully
GLI: March 07 2006 22:09:32 - fstab configured.
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/rc.conf
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/conf.d/keymaps
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:09:32 - Make.conf configured
GLI: March 07 2006 22:09:33 - Chroot environment ready.
GLI: March 07 2006 22:20:58 - Portage tree install was custom.
GLI: March 07 2006 22:21:05 - Root Password set on the new system.
GLI: March 07 2006 22:21:06 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: March 07 2006 22:21:06 - Timezone set.
GLI: March 07 2006 22:21:06 - Starting emerge_kernel
GLI: March 07 2006 22:24:46 - Coldplug emerged.  Now they should be added to the boot runlevel.
GLI: March 07 2006 22:24:46 - Added coldplug to runlevel boot
GLI: March 07 2006 22:24:47 -  -- MARK --
GLI: March 07 2006 22:24:47 - Starting build_kernel
GLI: March 07 2006 22:26:08 - Added syslog-ng to runlevel default
GLI: March 07 2006 22:26:08 - Logging daemon installed: syslog-ng
GLI: March 07 2006 22:28:18 - Added vixie-cron to runlevel default
GLI: March 07 2006 22:28:18 - Cron daemon installed and configured: vixie-cron
GLI: March 07 2006 22:28:19 - Edited Config file /mnt/gentoo/etc/conf.d/hostname
GLI: March 07 2006 22:28:19 - Edited Config file /mnt/gentoo/etc/conf.d/domainname
GLI: March 07 2006 22:28:19 - Added domainname to runlevel default
GLI: March 07 2006 22:28:19 - Edited Config file /mnt/gentoo/etc/hosts
GLI: March 07 2006 22:28:20 - Added net.eth0 to runlevel default
GLI: March 07 2006 22:28:20 - Edited Config file /mnt/gentoo/etc/conf.d/net
GLI: March 07 2006 22:29:14 - Emerged the selected bootloader.
GLI: March 07 2006 22:29:15 - Found a mbr device: /dev/hda
GLI: March 07 2006 22:29:17 - Output of Kernel Names:
/mnt/gentoo/boot/kernel-genkernel-x86-2.6.15-gentoo-r5

GLI: March 07 2006 22:29:17 - Output of Initrd Names:
/mnt/gentoo/boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

GLI: March 07 2006 22:29:17 - Bootloader: the three information gathering commands have been run
GLI: March 07 2006 22:29:17 - Grub installed and configured. Contents of grub.conf:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5

GLI: March 07 2006 22:29:17 - Grub has not yet been run.  If a normal install, it will now be run.
GLI: March 07 2006 22:29:18 - Found a mbr device: /dev/hda
GLI: March 07 2006 22:29:18 - Bootloader: grub has been installed!
GLI: March 07 2006 22:29:29 - fstab configured.
GLI: March 07 2006 22:29:29 - Edited Config file /mnt/gentoo/etc/rc.conf
GLI: March 07 2006 22:29:29 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: March 07 2006 22:29:29 - Edited Config file /mnt/gentoo/etc/conf.d/keymaps
GLI: March 07 2006 22:29:29 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: March 07 2006 22:29:29 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: March 07 2006 22:29:31 - ERROR! Could not add  to runlevel default. returned a bad status code.
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-10 09:12:12 UTC
Not much we can do about that :) Thanks for the additional testing, though.
Comment 10 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:41 UTC
Moving to Release Media/Installer.