boot z floppy

Andrej Bojda bojda at centrum.sk
Fri Dec 5 12:59:57 CET 2003


Ahoj. Ako nabootujem FreeBSD iba z floppy disku ? 
Skusal som nasledujuce postupy ale ani jeden mi zatial nefunguje.

root# fdformat /dev/rfd0c
root# dd if=boot.flp of=/dev/rfd0c bs=32k
root# cmp /dev/rfd0c boot.flp

Po nabootovani z diskety zadavam tieto prikazy:

boot ad0s1a:/kernel
boot ad0c:/kernel
boot /dev/ad0c:/kernel
boot:ad0c /kernel
boot:/dev/ad0c /kernel

Ale nic mi zatial nezafungomalo. Ktory je spravny prikaz ?

root# disklabel ad0

# /dev/ad0c:
type: ESDI
disk: ad0s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1528
sectors/unit: 24563322
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
a:   614400        0    4.2BSD     2048 16384    91   # (Cyl.    0
- 38*)
b:   614400   614400      swap                        # (Cyl.  
38*- 76*)
c: 24563322        0    unused        0     0         # (Cyl.    0
- 1528*)
d:   614400  1228800    4.2BSD     2048 16384    91   # (Cyl.  
76*- 114*)
e:   614400  1843200    4.2BSD     2048 16384    91   # (Cyl. 
114*- 152*)
f: 14336000  2457600    4.2BSD     2048 16384    89   # (Cyl. 
152*- 1045*)
g:  7769722 16793600    4.2BSD     2048 16384    89   # (Cyl.
1045*- 1528*)

root# fdisk ad0

******* Working on device /dev/ad0 *******

parameters extracted from in-core disklabel are:
cylinders=5005 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=5005 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 24563322 (11993 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA)
    start 24563385, size 20466810 (9993 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 7,(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 45030195, size 12594960 (6149 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 15,(Extended DOS, LBA)
    start 57625155, size 22780170 (11123 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63

Dakujem za radu.
Andrej

---------------------------------------------------------
http://mail.centrum.sk/ - Chceš nový e-mail, zriaď si ho!



More information about the Users-l mailing list