Linux on Mol - invalid device

David Bélanger mol-general@lists.maconlinux.org
Fri, 5 Mar 2004 22:11:56 -0500


--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


Hi,

I'm trying to run Linux in Mol.  I got it to boot yaboot and
I can see the yaboot prompt, but I get msgs like:
hd:15,/boot/vmlinux: Unable to open file, Invalid device
for both Gentoo and Debian.

I guess it is something not properly configure.  I have included
my molrc.linux file.  I will continue to play with it.

I added the yaboot lines based on molrc.linux.dpkg-dist and I don't
remember having modified the other.

My current OS with mol is Debian mixture of testing/unstable.
My MOL version is a rsync version 0.9.68.


Thanks in advance,
David

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt


--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="molrc.linux"

# -*- perl -*- (emacs syntax coloring)
#
# Master config file for booting Linux within MOL
#

include			${etc}/molrc.video	# video
include			${etc}/molrc.input	# mouse & keyboard
include			${etc}/molrc.net	# networking

ram_size:		64


# Debian system (session 3)
ifeq ${session} 3 {
	cmdline:	"root=/dev/mol"

	linux_disk:	/BK/debian -rw
	#linux_disk:	/dev/cdrom -ro
}

# Debian installer (session 4)
ifeq ${session} 4 {
	initrd:		/BK/root.bin
	cmdline:	"root=/dev/ram ramdisk_size=8192"

	#disk:		/dev/cdrom -ro
	#linux_disk:	/BK/debian -rw
}

# MOL support from initrd (session 5)
ifeq ${session} 5 {
	#kernel:	/tmp/vmlinux	# kernel without MOL support
	initrd:		/BK/initrd
	cmdline:	"ramdisk_size=100000 root=/dev/ram rw init=/start 1"

	linux_disk:	/BK/ext2disk -rw
	linux_disk:	/dev/hda11 -ro
}

kernel:	/boot/vmlinux-2.4.20-rc1-ben0		# kernel with MOL/linux support
cmdline: root=/dev/hda11
linux_disk: /dev/hda11 -ro
#symfile:	/usr/src/linux/System.map	# Symbols (for the debugger)


pseudofile:	"yaboot"	/usr/lib/yaboot/yaboot
pseudofile:	"yaboot.conf"	/etc/yaboot.conf
pseudofile:	"vmlinux"	/boot/vmlinux-2.4.20-rc1-ben0


--xHFwDpU9dbj6ez1V--