Date: Mon, 05 Oct 1998 18:50:55 -0500 From: Edwin Culp <eculp@webwizard.org.mx> To: Gilad Rom <rom_glsa@ein-hashofet.co.il> Cc: current@FreeBSD.ORG Subject: Re: Problems with 3-stage bootloader Message-ID: <36195B5F.785D71A2@webwizard.org.mx> References: <361946F8.86389BA9@ein-hashofet.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
Gilad Rom wrote: > Hi, > > I have installed the new bootloader(CVSupped Monday morning), > recompiled my KERNEL as ELF, added "options FFS_ROOT", > did a "disklabel -B wd0", and happily rebooted. > > the new bootloader showed up, telling me about drive 0/drive1 and some > more BIOs information, when suddenly I got this message: > > FreeBSD/i386 bootstrap loader.... > > (lickyou@pentium, Mon Oct 5 20:21:30 GMT 1998) > Can't work out which disk we are booting from. > Guessed BIOS device 0xffffffff not found by probes, defaulting to disk > 0: > > can't open `/boot/boot.conf`: input/output error > > <countdown here, when it gets to zero it tries loading the kernel from > drive A: with no success and then drops me to the command > line prompt) > > When I type "load disk1c:/kernel" from the command line it loads the > kernel, > then I type "boot" and it appears to boot fine, filesystem checks OK, > but I get the infamous "mount: /dev/wd0s2a on /: specifed device does > not > match mounted device" when trying to mount the root device. > (from then, It just boots single user with the root filesystem read > only). I changed my fstab back to /dev/wd0a from /dev/wd0s1a and everything works fine. I also recommend that you change the variable from the loader prompt to disk1a with disk0a > set varable_name_from_show=disk1a disk1a > load kernel disk1a > boot If not I couldn't get dmesg, netstat, top, etc to work. Your kernel is thought to be /disk1c:kernel. Hope this helps. ed > > > I have reserved my aout kernel as /kernel.aout and I can boot it just > fine > at the "boot:" prompt, all filesystem checks are OK and mount does not > complain. > > a copy of my dmesg and /etc/fstab, just to be sure: > > Copyright (c) 1992-1998 FreeBSD Inc. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights > reserved. > FreeBSD 3.0-BETA #13: Sun Oct 4 20:32:31 GMT 1998 > lickyou@pentium:/usr/src/sys/compile/KERNEL > Timecounter "i8254" frequency 1193182 Hz cost 1483 ns > Timecounter "TSC" frequency 230955312 Hz cost 94 ns > CPU: Pentium/P55C (230.96-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x543 Stepping=3 > Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> > real memory = 100663296 (98304K bytes) > avail memory = 95846400 (93600K bytes) > Probing for devices on PCI bus 0: > chip0: <Host to PCI bridge (vendor=10b9 device=1531)> rev 0xb3 on > pci0.0.0 > chip1: <PCI to ISA bridge (vendor=10b9 device=1533)> rev 0xb4 on > pci0.2.0 > vga0: <ATI model 4755 graphics accelerator> rev 0x9a on pci0.5.0 > ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x20 int a irq 0 > on pci0.11.0 > ide_pci: controller is simplex, no DMA on secondary channel > Probing for devices on the ISA bus: > sc0 at 0x60-0x6f irq 1 on motherboard > sc0: VGA color <16 virtual consoles, flags=0x0> > sio1 at 0x3f8-0x3ff irq 4 on isa > sio1: type 16550A > sio2 at 0x2f8-0x2ff irq 3 on isa > sio2: type 16550A > pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fdc0: FIFO enabled, 8 bytes threshold > wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff on isa > wdc0: unit 0 (wd0): <WDC AC34300L>, 32-bit, multi-block-16 > wd0: 4104MB (8406720 sectors), 8896 cyls, 15 heads, 63 S/T, 512 B/S > wdc0: unit 1 (atapi): <BCD-20X 1997-05-25/VER 2.0>, removable, accel, > dma, iordy > wcd0: 0/1718Kb/sec, 128Kb cache, audio play, 255 volume levels, > ejectable tray > wcd0: no disc inside, unlocked > npx0 flags 0x1 on motherboard > npx0: INT 16 interface > Intel Pentium F00F detected, installing workaround > changing root device to wd0s2a > ffs_mountfs: superblock updated > > /etc/fstab has: > > # Device Mountpoint FStype Options Dump > Pass# > /dev/wd0s2b none swap sw 0 > 0 > /dev/wd0s2a / ufs rw 1 > 1 > /dev/wd0s2f /usr ufs rw,async 2 > 2 > /dev/wd0s2e /var ufs rw 2 > 2 > proc /proc procfs rw 0 > 0 > /dev/wcd0a /cdrom cd9660 ro,noauto 0 > 0 > /dev/wd0s1 /dos msdos rw,noauto 0 > 0 > > Bye, Gilad. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36195B5F.785D71A2>