[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiboot trouble (nt boot loader)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Multiboot trouble (nt boot loader)
- From: <nickf3_(_at_)_mail_(_dot_)_ru>
- Date: Wed, 21 Apr 2004 08:31:01 +0400
- Reply-to: <nickf3_(_at_)_mail_(_dot_)_ru>
Nick, thanks for the response.
Sorry, missed couple of steps - the file gets ssh-ed to a linux box,
then PuTTY-ed to windows. No problems here.
But as I found out, dd here produces 512 bytes of nothing, zero:
dd if=/dev/rwd0a bs=512 count=1 |hexdump -C
0000000 0000 0000 0000 0000 0000 0000 0000 0000 |................|
And that's _after_ I upgraded to 4/20 snapshot.
Am I reading the wrong disk? I only have one ;-) see attached dmesg.
It's ether me doing some stupid thing, or "select is broken",
which I highly doubt.
Here are my mounts, fdisk and disklabel outputs attached:
/dev/wd0a on / type ffs (local)
/dev/wd0h on /home type ffs (local, nodev, nosuid)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
/dev/wd0g on /usr type ffs (local, nodev)
/dev/wd0e on /var type ffs (local, nodev, nosuid)
I should probably mention that previously I had Gentoo on
that partition with Grub for the bootloader, so I restored
windows mbr by booting to win95 dos from floppy and doing "fdisk /mbr"
All nice but first win2000 boot after that said it found/installed
a device (what device?) and asked to reboot. Reboot ..., w2k lost drive
letter assignment on the second partition, had to restore it.
Again, any help would be appreciated. Thanks.
On Tue, 20 Apr 2004, Nick Holland wrote:
> nickf3_(_at_)_mail_(_dot_)_ru wrote:
> > Installed yesterday (04/19/04) snapshot on a thinkpad A30p.
> > First IDE drive, third primary partition, first two are taken by w2k.
> > Boots fine off a floppy, GAG boots the OS fine. Tried
> > putting PBR into NT boot list (as per FAQ) - doesn't work :-(
> > The steps (nothing new):
> > boot off floppy53C.fs
> > drop into shell
> > mount /dev/wd0a /mnt
> > /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd0
> Up to this point is not really needed, unless you have messed up the
> PBR in some way...
> > reboot into multiuser
> > dd if=/dev/rwd0a of=obsd.pbr bs=512 count=1
> > boot into w2k
> > put obsd.pbr onto win c:\, add line 'c:\obsd.pbr="Safe Mode"' to c:\boot.ini
> The unanswered question here is how obsd.pbr made it from wherever it
> got dropped in the 'dd' step to the Windows partition.
> My hunch is it got mangled in this step...
> > reboot
> > select "Safe Mode" from nt boot menu -> screen goes blank, nothing happens.
> > I'm obviously missing something here, can't figure out what.
> > Of course, GAG is an option, but it'd be awful nice to hide the
> > fact that I messed with company laptop from my boss.
> heh. that explains the "Safe Mode" part. 8)
> (side note: after installing OpenBSD in my laptop behind a small XP
> partition and getting it to boot as the default partition by NTLDR, I
> realized this was "Windows made Secure By Default". 8)
> > Test:
> >From within WinXP, set the OpenBSD partition to be your active
> partition (alternatively, boot the OpenBSD install disk, drop to
> shell, use fdisk to change the partition 'f'lagged active to your
> OpenBSD partition), and reboot. OpenBSD should load. If so, the
> problem is your obsd.pbr file, if not, your OpenBSD install has other
> Oh, uh... that 4/19 snap is bad. You need to pull a new snap (which
> I see is already on some, but not all, FTP servers now) before you
> expect to get very far past kernel load (you SHOULD get more than a
> blank screen right now, however).
[demime 0.98d removed an attachment of type application/octet-stream which had a name of dmesg.a30p]
[demime 0.98d removed an attachment of type application/octet-stream which had a name of fdisk.wd0]
[demime 0.98d removed an attachment of type application/octet-stream which had a name of disklabel.wd0]
Visit your host, monkey.org