Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > bootproblem (installboot)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th April 03:27
merkel.bernd
External User
 
Posts: 1
Default bootproblem (installboot)



From: merkel.bernd@gmx.de (someone)
Newsgroups: comp.unix.bsd.netbsd.announce
Subject: can't boot from disk (installboot)
NNTP-Posting-Host: 217.186.202.195
Message-ID: <9d3a41ae.0401171114.7737a3eb@posting.google.com >

Hi,

I would like to change the disk of my bsd-box.

- format the disk:

BIOS disk geometry:
cylinders: 1024 heads: 255 sectors/track: 63 (16065 sectors/cylinder)

Partition table:
0: <UNUSED>
1: sysid 169 (NetBSD)
start 63, size 78165297 (38166 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 1023, head 254, sector 63
2: <UNUSED>
3: <UNUSED>

- label the disk:

type: ESDI
disk: Barracuda ATA IV
label: system
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78165360
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 1031184 63 4.2BSD 1024 8192 86 # (Cyl. 0*- 1023*)
b: 1228800 1031247 swap # (Cyl. 1023*- 2242*)
c: 78165297 63 unused 0 0 # (Cyl. 0*- 77544)
d: 78165360 0 unused 0 0 # (Cyl. 0 - 77544)
e: 20480000 2260047 4.2BSD 2048 16384 328 # (Cyl. 2242*- 22559*)
f: 55425313 22740047 4.2BSD 1024 8192 101 # (Cyl. 22559*- 77544)

- create new fs on the disk (a and e) and mount them on /mnt/ /mnt/usr

- copy / and /usr to the mount points

- install biosboot:

'/usr/mdec/installboot -v /usr/mdec/biosboot.sym /dev/rwd1a'
/usr/mdec/biosboot.sym: entry point 0x8063000
proto bootblock size 48128
room for 10 filesystem blocks at 0x580
/dev/wd1a is not mounted
mounted /dev/wd1a at /tmp/installboot00315a
renamed /tmp/installboot00315a/boot -> /tmp/installboot00315a/boot.bak
unmounting
Will load 79 blocks.
dblk: 2688, num: 16
dblk: 2704, num: 16
dblk: 2720, num: 16
dblk: 2736, num: 16
dblk: 2752, num: 15
BSD partition starts at sector 63
/dev/wd1a is not mounted
mounted /dev/wd1a at /tmp/installboot00315a
deleting /tmp/installboot00315a/boot.bak
unmounting

.... After reboot I get "PRESS A KEY TO REBOOT". What's wrong?

MfG someone
  Reply With Quote


  sponsored links


2 26th April 03:28
fredb
External User
 
Posts: 1
Default bootproblem (installboot)



In article <9d3a41ae.0401171117.72ca4505@posting.google.com>,
merkel.bernd@gmx.de (someone) writes:

[...]


There's no active MBR partition. Try "fdisk -a", or maybe "fdisk -ai"
to reinstall the MBR, too, for good measure.

--
Frederick
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666