Skip to Content.
Sympa Menu

baslinux - Re: [BL] Can't boot BL2 ramdisk or BL3 loop from DOS partition on scsi drive

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Can't boot BL2 ramdisk or BL3 loop from DOS partition on scsi drive
  • Date: Tue, 25 Jul 2006 21:13:09 +0000 (UTC)

On Mon, 24 Jul 2006, sindi keesan wrote:

Using my 2.4.31 scsi kernel with BL2 ramdisk or BL3 loop


Uncompressing linux ...
Ok, booting the kernel


After this I eventually power off.

I have booted to BL on scsi with the scsi 2.4.31 kernel, from a DOS
partition on an IDE drive (loadlin). Why can't I boot from a DOS
partition on scsi drive with the same scsi kernel?

Boot into ramdisk BL3 on an IDE drive.

cd /DOS/baslin
cp initfs.gz scsi.gz
gunzip scsi.gz
mount -o loop initfs /mnt
cd /mnt
ls - there are /bin, /dev, /proc, and a file linuxrc

In dev there are hda1-4 hdb1-4 hdc1 hdd1 but no sda anything.
I will need to mknod /dev/sda1 (the DOS partition on the scsi drive from which loop BL3.4 is being run).

Do I also need sda2 and sda3 for loop linux? They are linux ext2 partitions to which I want to copy files, but I think I have these devices in the regular /dev/ directory of BL3.

linuxrc is a batch file which checks for a /baslin directory on /dev/hda1 to hda4 and gives error messages if not found. I need to change the first to /dev/sda1 and delete the rest, for this computer.

Umount mnt, gzip scsi, copy it to the scsi computer.
Copy boot.bat to scsi.bat and change initfs.gz to scsi.gz.
Boot BL3.40 loop with 'scsi' instead of 'boot', using a kernel with built-in scsi support (scsi_mod and sd_mod).
Boot ext2 BL3.40 on that computer with the same kernel, root=/dev/sda2.

Steven, perhaps you could, in the next BL, add an error message for people who do not have a /dev/hda*, that suggests editing linuxrc and adding the /dev for things like scsi drive, usb pen drive, optical drive, or whatever else someone might try to boot from using another kernel with support for that device.

I will edit BL2 baslin.gz similarly.




Archive powered by MHonArc 2.6.24.

Top of Page