All times are UTC-06:00




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
 Post subject: MOLK install issues
PostPosted: Thu Jul 06, 2006 6:10 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
I have MOLK booting its kenal fine up to the point I think it should boot my Tiger DVD. It stops and I cann see just before the partition I added in the config about my dvd rom drive not being found or something. It says something like open /dev/cdrom: no such file or directory.

What do I need to do in the config to make it boot from my dvd so I can install Tiger???


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 6:54 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi, Acill!

Where is your dvd-drive attached?
The molrc.osx config assumes that it's on the 2nd
ide-bus (ie. either hdc or hdd).
If you have it on 1st bus edit molrc.osx and replace
in one of the blkdev: /dev/hdc or /dev/hdd lines
the hdX with your settings...

I assume you added "--cdboot" in mol/script/start-misc:
line "/bin/bash /usr/local/bin/startmol -X"

good luck so far!


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 9:55 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
I think my DVD drive it attached on the 1st IDE port as slave with my main linux drive as the master. I am not 100% sure though and would need to look when I get home tonight.

As for the script I am not sure I quite understand that? I need more info on it. If I were to post my settings files and tell you where all my drives are would it help you to get it right? I am attempting to put OS X on hda2 which is a 10GB partition on my drive on the primary master IDE. Before that I have a 1GB boot partition as hda1. Does that pose any problems? I was told as long as I use a partition within the first 8GB of a drive it would be fine.


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 10:24 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 269
Location: Los Angeles
Acill

The script that needs to be edited is in the /mol directory on your boot drive - well actually

/mol/molrc.osx

afaik

obviously its primary ide hda (master) hdb (slave) Secondary hdc (Master) hdd(Slave) iirc

magnetic

PS We added --cdboot to the start-misc script


oh and Frostwork I thought a new version was coming out?? :P


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 12:46 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
Quote:
Acill

The script that needs to be edited is in the /mol directory on your boot drive - well actually

/mol/molrc.osx
Okay, I know that one. I was wondering about the other one you menioned we changed so thats good to go then.
Quote:
obviously its primary ide hda (master) hdb (slave) Secondary hdc (Master) hdd(Slave) iirc
So whats the proper line to edit and type out for a dvd drive on primary slave and where so I put it? Does it go below the line we put hda2 at? I still need to format to type. I think I am so damn close to getting it working and the only thing left is the boot from dvd so I can install it part.


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 10:09 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 269
Location: Los Angeles
Acill

You have to edit the cdrom line in molrc.osx - if you read the commented out lines you can figure it out - replace the /dev/cdrom with /dev/hdX (your device as stated previous) iirc

btw

DVD install may not work as said in another thread. I think I told you this when you first tried it, I seemed to remember this from somewhere else. Also, you can email Frostwork he is cool and helpful


Top
   
 Post subject:
PostPosted: Thu Jul 06, 2006 10:49 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
Well I got a bit further this time, but still no luck on getting the Tiger DVD to boot up. At the end of the MOL boot process here is what is printed just before it stops at the bash prompt.

CD /dev/hdd cd/dvd <read only> ------Boot1
DISK /dev/hda2 <rw> 1019

SCSI Devices:
<No SCSI Devices>

ioctl: CDROM_DRIVE_STATUS invalid argument
ioctl: CDROM_DRIVE_STATUS invalid argument

>>=====================================================
Mac OSX Boot Loader 0.9.70 [96MB memory map patch]
>> SMC Read Error
>> SMC Read Error
>>--> Boot Loader Failure: No Bootlble Disk Found



And here is my setting in MOLK

# MOL will boot from CD if it invoked through 'startmol -X --cdboot'.

blkdev: /dev/hdd -cd ${cdboot}

ifempty ${altconfig} {
# default configuration
blkdev: /dev/hda2 -rw -force
#blkdev: /dev/hdb -rw
#blkdev: /dev/sda -rw
#blkdev: /dev/sdb -rw
#blkdev: /dev/hdc -cd
blkdev: /dev/hdd -cd

} else {
# alternate configuration
blkdev: /tmp/osx.image -rw
#blkdev: /dev/loop0 -rw
# any non-HFS partitions). BE CAREFUL!
# -cd CDROM/DVD
#
# MOL will boot from CD if it invoked through 'startmol -X --cdboot'.

blkdev: /dev/hdd -cd ${cdboot}

ifempty ${altconfig} {
# default configuration
blkdev: /dev/hda2 -rw -force
#blkdev: /dev/hdb -rw
#blkdev: /dev/sda -rw
#blkdev: /dev/sdb -rw
#blkdev: /dev/hdc -cd
blkdev: /dev/hdd -cd

} else {
# alternate configuration
blkdev: /tmp/osx.image -rw
#blkdev: /dev/loop0 -rw
}




Any ideas would be helpfull!


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 12:59 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!

@Acill:

>I think my DVD drive it attached on the 1st IDE port as slave

If you're sure about that replace

blkdev: /dev/hdd -cd

with

blkdev: /dev/hdb -cd

in your molrc.osx!

This should be enough...


@magnetic:

> oh and Frostwork I thought a new version was coming out??

It doesn't make much sense atm...

> you can email Frostwork he is cool and helpful


You're absolutely right :D


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 6:15 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
I cant win! Now it stops at a failure telling unbalenced if in molrc.ox!


bah!!!

I am sure my dvd drive is what you told me to change now though I am pasting my molrc.osx to see if you can find out what I did wrong now.

# -*- perl -*- (for emacs syntax coloring)
#
# /etc/mol/molrc.osx
#
# Mac-on-Linux master configuration file for MacOS X booting
#


#------------------------------------------------------------------------------
# Parse other config files (these files are in /etc/mol/)
#------------------------------------------------------------------------------

include ${etc}/molrc.video # video configuration
include ${etc}/molrc.input # mouse and keyboard
include ${etc}/molrc.net # networking
include ${etc}/molrc.sound # sound


#------------------------------------------------------------------------------
# Misc Settings
#------------------------------------------------------------------------------

ram_size: 400
disable_altivec: no


#------------------------------------------------------------------------------
# OS X Volumes
#------------------------------------------------------------------------------
#
# Volumes to be mounted in MacOS X are specified through the
# blkdev keyword:
#
# blkdev: <device> [flags]
#
# where <device> can be a complete disk (/dev/hda), a single
# partition (/dev/hda7) or a disk image.
#
# The following flags are supported
#
# -rw/-ro read-write / read-only [default]
# -force force usage of device (be careful!)
# -boot boot from this disk
# -boot1 boot from this disk (ignore other -boot flags)
# -whole export the entire device (including
# MOL will boot from CD if it invoked through 'startmol -X --cdboot'.

blkdev: /dev/hdb -cd ${cdboot}

ifempty ${altconfig} {
# default configuration
blkdev: /dev/hda2 -rw -force
blkdev: /dev/hdb -rw
#blkdev: /dev/sda -rw
#blkdev: /dev/sdb -rw
#blkdev: /dev/hdc -cd
# blkdev: /dev/hdd -cd

} else {
# alternate configuration
blkdev: /tmp/osx.image -rw
#blkdev: /dev/loop0 -rw
# any non-HFS partitions). BE CAREFUL!
# -cd CDROM/DVD
#
# MOL will boot from CD if it invoked through 'startmol -X --cdboot'.

blkdev: /dev/hdb -cd ${cdboot}

ifempty ${altconfig} {
# default configuration
blkdev: /dev/hda2 -rw -force
blkdev: /dev/hdb -rw
#blkdev: /dev/sda -rw
#blkdev: /dev/sdb -rw
#blkdev: /dev/hdc -cd
# blkdev: /dev/hdd -cd

} else {
# alternate configuration
blkdev: /tmp/osx.image -rw
#blkdev: /dev/loop0 -rw
}


#------------------------------------------------------------------------------
# SCSI configuration (also relevant for IDE CDs and other SCSI-like devices)
#------------------------------------------------------------------------------
#
# By default, MOL automatically scans for non-harddisk type SCSI devices.
# If only specified SCSI devices are to be used by mol, change the
# the autoprobe setting below.
#
# Note: IDE, firewire and USB devices typically show up as SCSI devices.


autoprobe_scsi: yes

# If SCSI autoprobing is disabled then devices must be exported manually

#scsi_dev: "0:0:0" # host/channel/id
#scsi_dev: "1:0:0" #



#------------------------------------------------------------------------------
# USB Configuration
#------------------------------------------------------------------------------
#
# Generic USB support. Devices that are _not_ claimed by specific
# USB drivers are seen by MOL. Note: Make sure the kernel is compiled
# with 'Preliminary USB device filesystem' support. Also, for best effect,
# turn off drivers for specific USB devices (like 'USB Scanner support').

enable_usb: yes

#------------------------------------------------------------------------------
# PCIproxy Configuration
#------------------------------------------------------------------------------
#
# MOL can be configured to make PCI devices of the host machine available to the
# guest OS. You will have to make sure the linux kernel isn't using the device
# itself by disabling/unloading the driver (if it exists). Devices to be proxied
# have an entry here that gives the pci address as first argument and a an
# optional second argument that is a filename containing a template for the
# device tree node of the device to be proxied (MOL format, get a template by
# running the ofdump utility included in the MOL package). This template can be
# used to specify address mappings by hand, setting additional properties etc.

# enable the pciproxy module
#enable_pciproxy: yes

# Airport Extreme (Broadcom 4320) Card (Second is with optional ofdump)
#pci_proxy_device: 0001:10:12.0
#pci_proxy_device: 0001:10:12.0 ${etc}/pci80211.dnode


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 6:56 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Acill!

> blkdev: /dev/hdb -rw

replace -rw with -cd & see if it works!


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 7:26 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
It didnt work. I still get "Fatal Error: Unballanced IF in molrc.osx"

I must have typed something out of format in the script. Do you see anything wrong? I cant tell what the problem is


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 7:35 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 269
Location: Los Angeles
Acill
This "unbalanced" is because you screwed up the text file with your text editor ;-) - the lines are misplaced... I think this is where the prob lies:
Quote:
blkdev: /dev/hdb -cd ${cdboot}

ifempty ${altconfig} {
# default configuration
blkdev: /dev/hda2 -rw -force
blkdev: /dev/hdb -rw
#blkdev: /dev/sda -rw
#blkdev: /dev/sdb -rw
#blkdev: /dev/hdc -cd
# blkdev: /dev/hdd -cd

I'm in linux now so cant look but you can always extract the original file and compare it to your fubar one! :twisted:

mag

PS I have my cd / dvd working but havent tried to boot the tiger dvd..


Top
   
 Post subject:
PostPosted: Fri Jul 07, 2006 9:50 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 50
Well I booted the dvd, discovered hda2 was actually only 1GB not 10GB and as luck would have it hda3 (debian) was 9GB and now its installing as I type this! I giess in another 30 mins I will see if it works or not.


EDIT: Well it installed, but it wont boot to OSX now that its done. I went through the installer and it completed just fine. I reboot and type "boot molk" at the OF prompt and it hangs at the penguin hugging the apple logo. If I put the dvd in and reboot it will load the dvd. What do I do to get it to boot?


SUCCESS!!!!!!!!!!!!!!!!!!!!!!!!!!!! Only no firewire? and what Ethernet is supported on the PEg II by default? I cant get on the net. I have an 8139 card I use, I tried the via rhine, I looked in start-misc and think i need to edit that, but i have no idea. My router GW is 192.168.1.1 and its set to do DHCP. Please help! I am so close to a perfect install now.


Top
   
 Post subject:
PostPosted: Sat Jul 08, 2006 2:03 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 269
Location: Los Angeles
@acill

Yay! Glad it worked. What type of fw device did you try? You have to config it as a "scsi" device. If you want to call me tomorrow you can about it.

magnetic


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group