From: Bradley W. <mod...@ya...> - 2007-06-14 00:07:31
|
# -*- perl -*- (for emacs syntax coloring) # # /etc/mol/molrc.macos # # Mac-on-Linux master configuration file for MacOS (classic) 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: 256 # should probably be increased disable_altivec: no # #------------------------------------------------------------------------------ # HFS Volumes #------------------------------------------------------------------------------ # # To use a HFS disk in mol, add a blkdev line. The syntax is # # blkdev: <device> [flags] # # where <device> can be an entire disk (/dev/sda), a single # partition (/dev/sda6) or a disk image (/home/samuel/moldisk). # # Valid flags are # # -rw/-ro read-write / read-only [default] # -force export non-HFS partitions (be careful!) # -whole export the complete disk rather than individual # partitions (be careful!) # -cd CD/DVD # -boot boot from this disk. # -boot1 boot from this disk (ignore other -boot flags) # # If the --cdboot switch is used, then MOL will boot from CD blkdev: /media/cdrom0 -cd ${cdboot} #blkdev: /media/cdrom0 -cd blkdev: /dev/hda5 -rw #ifeq ${session} 0 { # default configuration # blkdev: /dev/hda -rw # blkdev: /dev/hdb -rw # blkdev: /dev/sda -rw # blkdev: /dev/sdb -rw #} ifeq ${session} 4 { # alternate configuration (startmol --alt) blkdev: /tmp/hfs.image -rw } ifeq ${boot_type} oldworld { # oldworld booting (for MacOS 8.5 or older) blkdev: /tmp/oldworld.image -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. # # Change the generic_scsi_for_cds setting to 'no' if the patch to # the 'Apple CD/DVD Driver' has not been installed (refer to the # readme file in the 'MOL install' volume for instructions). # Without the patch, CDs will (probably) not show up on the desktop. # Of course, without generic SCSI there will be no CD-burning... # # Note: By passing a command-line argument (e.g. 'hdc=scsi') to the kernel, # IDE CDs are seen as SCSI devices. This is how IDE CD burners are accessed # in linux (and in MOL)... generic_scsi_for_cds: yes # use generic SCSI for CD/DVDs autoprobe_scsi: yes # If SCSI autoprobing is disabled then devices must be exported manually. # The generic_scsi_for_cds setting is ignored for explicitly specified devices. #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 #------------------------------------------------------------------------------ # MacOS ROM Newworld Configuration #------------------------------------------------------------------------------ # # By default, MOL loads the 'Mac OS ROM' file directly from the System # Folder of the startup disk. If this is not desirable (unlikely), # then the ROM can be loaded from the linux side by using the # newworld_rom keyword. Note that the ROM file must be copied to the # linux side as a *binary* without any kind of encoding (avoid # MacBinary in particular). # # newworld_rom: /BK/roms/rom.1.6.nw ----- Original Message ---- From: Nathan Smith <nda...@gm...> To: Bradley Walker <mod...@ya...>; mac...@li... Sent: Wednesday, June 13, 2007 2:50:09 PM Subject: Re: [Mac-on-linux-users] Ubuntu 7.04 & MOL issue On 6/13/07, Bradley Walker <mod...@ya...> wrote: > I'm writing because I've ran into issues with running MOL 0.9.72 on Ubuntu > 7.04. I went through installed a fresh copy of Ubuntu on my dual G4 which > went fine. I installed all the nessecary files such as autoconf, m4, > libncurses, etc. Then I extract the gzip file and do the following steps: > > 1.) ./autogen.sh > 2.) make (including the make menuconfig part) > 3.) make install > 4.) run molvconfig > > Afterwards I immediately go and configure my /etc/mol/molrc.macos config > file to show 256mb of memory and to adjust the disk devices that it can > access. I did have to temporarily disable the included molrc.net file > because I was having tun0 errors, but for now I'm not worrying about that. > Instead when I run 'startmol' and have a Mac OS9 disc in there... the screen > goes to full screen for a brief second but kicks me back out to the terminal > window with an error that no SCSI devices could be found. I watch and the > CDRom is not even accessed during this time. At first I figured it was a > configuration error, so I checked and my molrc.macos file references > > blkdev: /media/cdrom0 -cd > > I tried using paths like /dev/hd(x), /media/cdrom, you name it. Nothing > happened. Does anyone have any ideas??? Could you paste your molrc.macos somewhere so we can take a look at it? Also, I assume you are looking to install OS 9. To boot from cd, you need to pass the --cdboot flag with startmol in order to boot from the install disk. You will want to make sure that you have somewhere to install it (and include a blkdev entry in your molrc.macos). Also, you will want the blkdev entry for the CD-ROM to reflect the actually device reference (/dev/hd?) and not the mount-point. I hope that helps. -- Nathan Smith nda...@gm... ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL |