Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 1996 17:50:52 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jgenend@ibm.net (Jeff Genender)
Cc:        questions@freebsd.org
Subject:   Re: PANIC: Cannot mount root
Message-ID:  <199605050050.RAA18463@phaeton.artisoft.com>
In-Reply-To: <318BB959.11E9@ibm.net> from "Jeff Genender" at May 4, 96 03:08:57 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 1 Gig Hard Drive - 1 Partition with DOS, Windows 95, and Windows NT.
> Uses the Windows NT loader.
> 
> Mitsumi EIDE CD - FX400
> 
> Adaptec 1542CF
> --------------
> Drive 1 (SCSI 0) (0x81) - Known as the 'D:' drive and is one large
> extended Dos partition.
> 
> Drive 2 (SCSI 1) (0x82) - First 600 MB partitioned as NTFS drive and the
> Next 405MB partitioned as FreeBSD
> 
> The problem is, I can install FreeBSD without any problem.  I then go to
> boot (with the floppy) and type in sd(1,a)/kernel (for the second drive)
> and it does nothing.  I then type in sd(2,a)/kernel and it begins to
> boot and I then get the famous 'PANIC: Cannot mount root'.  I have tried
> booting with every type of combination and I still get the PANIC
> message.  In addition, I tried to erase the NTFS partition and give the
> whole drive to FreeBSD.  No luck, same message.  I have also tried
> swapping SCSI logical numbers (making the second disk SCSI 0 and the
> first disk SCSI 1), but as you probably already guessed, no luck again.

You are tying to boot off a drive not in the BIOS boot chain, since
I assume your IDE is your boot device.

You can use the NT boot loader to load the BSD boot blocks (recently
posted to comp.unix.bsd.freebsd.misc, and posted rather regularly to
this [-questions] list).

But you will have to modify the BSD boot code, which only recognizes
the first and second bootable devices (definitely *not* your second
SCSI drive on your secondary disk controller).

Basically, you need to either recompile with a different "root on sd1a"
or hack the sys/i386/machdep.c boot device designation.

It's no suprise that when the BSD loader comes up, your DX register
is not 0x083, since what you are trying to do really isn't supported
by the BIOS, the MBR on your first drive, or (by default) BSD.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605050050.RAA18463>