Subject: Removing i386 Bootloader
To: None <netbsd-help@netbsd.org>
From: Jeff_W <jgw@tx0.org>
List: netbsd-help
Date: 08/27/2006 18:36:28
How does one do this? I tried installboot -c /dev/rwd0c but get the following:
# installboot -v -c /dev/rwd0c
installboot: Opening file system `/dev/rwd0c' read-only: Device not configured
The Windows parrtition is actually /dev/rwd0e so I tried that:
# installboot -v -c /dev/rwd0e
File system: /dev/rwd0e
File system type: raw (blocksize 8192, needswap 0)
Primary bootstrap: (to be cleared)
installboot: i386: bootstrap removal is not supported
installboot: Clear bootstrap operation failed
Is there some other method to remove the NetbSD boot selector/loader thing?
I recently had to reinstall windozeXP and I'm getting an "Error 3" when selecting
XP. I though maybe installing a different boot manager would fix things so I
installed GAG-4.6, however selecting XP still dumping me into the NetBSD boot
selector so I think I just need to clear it out.
I thought I recalled seeing something about this on one of the lists but I can't
seem to find much about this.
Cheers,
Jeff W.
--
# fdisk
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 77520, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 78140160
BIOS disk geometry:
cylinders: 1023, heads: 240, sectors/track: 63 (15120 sectors/cylinder)
total sectors: 78140160
Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
bootmenu: XP
start 63, size 39070017 (19077 MB, Cyls 0-2584)
1: Primary DOS with 32 bit FAT (sysid 11)
start 39070080, size 4192965 (2047 MB, Cyls 2584-2861/75/1)
2: NetBSD (sysid 169)
bootmenu: NetBSD
start 43263045, size 34877115 (17030 MB, Cyls 2861/75/1-5168), Active
3: <UNUSED>
Bootselector enabled, timeout 7 seconds.
# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: NetBSD
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 77520
total sectors: 78140160
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 34613712 43263045 4.2BSD 2048 16384 28528 # (Cyl. 42919*- 77258*)
b: 263403 77876757 swap # (Cyl. 77258*- 77519)
c: 34877115 43263045 unused 0 0 # (Cyl. 42919*- 77519)
d: 78140160 0 unused 0 0 # (Cyl. 0 - 77519)
e: 39070017 63 MSDOS # (Cyl. 0*- 38759)
f: 4192965 39070080 MSDOS # (Cyl. 38760 - 42919*)