Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116531 - HFS+ Detection, Initialization
Summary: HFS+ Detection, Initialization
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 12:06 UTC by Sergey Anufrienko
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 Sergey Anufrienko 2005-12-23 12:06:01 UTC
I tried to install Gentoo(with GLI).
I have partition which has HFS+ filesystem(OSx86).
As it seems to me from error reports it seems like the filesystem is not specified in installer or the installer can't edit it(remove,resize...).
For some reason I don't have /tmp/installprofile.xml (probebly because it generates at the end of installation).
My /var/log/installer.log seems useless to me, but probebly it's a big help for you. :)
-----/var/log/installer.log-----

GLI: December 23 2005 22:36:02 - Setting root password.
GLI: December 23 2005 22:36:02 - Livecd root password set.
GLI: December 23 2005 22:36:04 - Portmap started.
GLI: December 23 2005 22:36:04 - Completed pre_install steps
GLI: December 23 2005 22:39:03 - Setting root password.
GLI: December 23 2005 22:39:03 - Livecd root password set.
GLI: December 23 2005 22:39:03 - Portmap started.
GLI: December 23 2005 22:39:03 - Completed pre_install steps
GLI: December 23 2005 22:43:51 - Setting root password.
GLI: December 23 2005 22:43:51 - Livecd root password set.
GLI: December 23 2005 22:43:51 - Portmap started.
GLI: December 23 2005 22:43:51 - Completed pre_install steps
GLI: December 23 2005 23:45:03 - Setting root password.
GLI: December 23 2005 23:45:03 - Livecd root password set.
GLI: December 23 2005 23:45:03 - Portmap started.
GLI: December 23 2005 23:45:03 - Completed pre_install steps
----------------------------------------------------------------

This is what I get in console when I just load installer(I included newest CVS download):

gentoo@livecd ~ $ /opt/installer/misc/updategtkfe
access control disabled, clients can connect from any host
--23:44:27--  http://dev.gentoo.org/%7Eagaffney/gli/snapshots/installer-20051221.tar.bz2
           => `installer-20051221.tar.bz2'
Resolving dev.gentoo.org... 134.68.220.30
Connecting to dev.gentoo.org[134.68.220.30]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 753,190 [application/x-tar]

100%[====================================>] 753,190      522.95K/s

23:44:28 (521.59 KB/s) - `installer-20051221.tar.bz2' saved [753,190/753,190]

Traceback (most recent call last):
  File "/root/installer/src/fe/gtk/Partitioning.py", line 166, in drive_changed
    self.draw_part_box()
  File "/root/installer/src/fe/gtk/Partitioning.py", line 302, in draw_part_box
    self.part_buttons[tmpminor] = PartitionButton.Partition(color1=self.colors[tmppart.get_type()], color2=self.colors[tmppart.get_type()], label="", division=0)
KeyError: 'hfs+'
Traceback (most recent call last):
  File "./gtkfe.py", line 238, in forward
    self.loadPanel(self._cur_panel + 1)
  File "./gtkfe.py", line 223, in loadPanel
    self.panels[panel].activate()
  File "/root/installer/src/fe/gtk/Partitioning.py", line 363, in activate
    self.drive_changed(None)
  File "/root/installer/src/fe/gtk/Partitioning.py", line 166, in drive_changed
    self.draw_part_box()
  File "/root/installer/src/fe/gtk/Partitioning.py", line 302, in draw_part_box
    self.part_buttons[tmpminor] = PartitionButton.Partition(color1=self.colors[tmppart.get_type()], color2=self.colors[tmppart.get_type()], label="", division=0)
KeyError: 'hfs+'

And this is goes in concsole right after I press Dump to Console(Debug) button.

{   1: {   'end': 0,
           'format': False,
           'mb': 12997L,
           'minor': 1.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 1,
           'start': 0,
           'type': 'fat32'},
    2: {   'end': 0,
           'format': False,
           'mb': 11829L,
           'minor': 2.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 2,
           'start': 0,
           'type': 'hfs+'},
    3: {   'end': 0,
           'format': False,
           'mb': 51520L,
           'minor': 3.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 3,
           'start': 0,
           'type': 'extended'},
    5: {   'end': 0,
           'format': False,
           'mb': 24732L,
           'minor': 5.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 5,
           'start': 0,
           'type': 'fat32'},
    6: {   'end': 0,
           'format': False,
           'mb': 16833L,
           'minor': 6.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 6,
           'start': 0,
           'type': 'ntfs'},
    7: {   'end': 0,
           'format': False,
           'mb': 956L,
           'minor': 7.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 7,
           'start': 0,
           'type': 'linux-swap'},
    8: {   'end': 0,
           'format': False,
           'mb': 8997L,
           'minor': 8.0,
           'mkfsopts': '',
           'mountopts': '',
           'mountpoint': '',
           'origminor': 8,
           'start': 0,
           'type': 'ext3'}}

It's my partitioning table as you probebly understand.
I'm testing Mac OS X on my x86 and it uses HFS+ filesystem.
That's what causing the problem...

Best Regards,
Sergey Anufrienko.

(P.S. Marry Christmas everyone :) )
Comment 1 Sergey Anufrienko 2005-12-23 12:09:32 UTC
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups eds emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Probebly it is already known...
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2005-12-23 12:11:49 UTC
Unfortunately, I'm not even going to attempt to start supporting HFS[+] until I fix up the partitioning code to work with Apple partition tables. This is on my very long list of things to do, but it isn't quite at the top. While adding 'hfs+' to the partition list in gtkfe and assigning it a color would get you past that particular point, I won't add it until it's actually supported by the backend.
Comment 3 Sergey Anufrienko 2005-12-23 13:17:11 UTC
I would greatly appreciate if you would give me for a wild a tiny hint :)
Thanks for the fast reply :)

SerJ.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2005-12-23 13:39:23 UTC
If you know any python, you can probably read the traceback. The traceback tells you all you need to know to "fix" it.
Comment 5 Sergey Anufrienko 2005-12-23 13:40:34 UTC
Well I don't know Python but I will mess with it little :)
Comment 6 Sergey Anufrienko 2005-12-23 19:36:06 UTC
I'm sorry if I'm anooying you... :(
I have found file and nicely placed arrays...
But because it's live cd it's ofcorse read-only so what should i do make change and reborn cd?
And is there any other way?
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2005-12-23 21:37:13 UTC
Yeah, wait for me to add proper HFS support :)
Comment 8 Sergey Anufrienko 2005-12-23 22:19:44 UTC
Finally, I have found my way around :)
I copied /opt/installer to /mnt/gentoo/
And I guess /mnt/gentoo is tmpfs or something...(forgot)
So I changed it and it worked I will try to install tomorow, because wanna get some sleep :)
Thanks for huge help Andrew. If I can help you guys somehow just tell :)
I'm curently learning/know C and PHP probebly I can help your project somehow :)

Thanks again.
SerJ. 
Comment 9 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:36 UTC
Moving to Release Media/Installer.