Re: [Q] boot on RS/6000
[email protected] (NONAKA Kimihiro)
| Newsgroups | gmane.os.netbsd.ports.prep |
|---|---|
| Message-ID | <[email protected]> |
Hi, >I installed NetBSD/prep on my IBM RS/6000 7248-120. >Althought the installation has been succesfully completed, >I am not able to get my machine to boot from the SCSI >hard disk: it looks like no bootcode has been installed. > >I made an attempt doing fdisk -c with the `boot' file >I found in /usr/mdec, but I get a `bootcode too big' >message. > >Can anyone help? Thanks. Please check fdisk PReP partition and boot-code (bootable disk image, boot or boot_com0 program) size. fdisk PReP partition size must be larger than boot-code size. Regards, -- NONAKA Kimihiro E-mail: [email protected] -- My installboot log > root@natsumi[/cdrom/installation/floppy]# ll > total 11164 > dr-xr-xr-x 2 root wheel 2048 May 4 14:30 ./ > dr-xr-xr-x 3 root wheel 2048 May 4 15:06 ../ > -r--r--r-- 1 root wheel 208 May 4 14:30 BSDSUM > -r--r--r-- 1 root wheel 270 May 4 14:30 CKSUM > -r--r--r-- 1 root wheel 448 May 4 14:30 MD5 > -r--r--r-- 1 root wheel 204 May 4 14:30 SYSVSUM > -r--r--r-- 1 root wheel 637 May 4 15:08 TRANS.TBL > -r--r--r-- 1 root wheel 1443694 May 4 05:03 generic.fs > -r--r--r-- 1 root wheel 1403748 May 4 05:03 generic.fs.gz > -r--r--r-- 1 root wheel 1431522 May 4 05:03 generic_com0.fs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ boot-code > -r--r--r-- 1 root wheel 1399503 May 4 05:03 generic_com0.fs.gz > -r--r--r-- 1 root wheel 1462195 May 4 05:03 sysinst.fs > -r--r--r-- 1 root wheel 1421572 May 4 05:03 sysinst.fs.gz > -r--r--r-- 1 root wheel 1450023 May 4 05:03 sysinst_com0.fs > -r--r--r-- 1 root wheel 1417326 May 4 05:03 sysinst_com0.fs.gz > root@natsumi[/cdrom/installation/floppy]# fdisk wd0 > Disk: /dev/rwd0c > NetBSD disklabel disk geometry: > cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder) > > BIOS disk geometry: > cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder) > > Partition table: > 0: sysid 65 (Linux/MINIX (sharing disk with DRDOS) or Personal RISC boot) > start 63, size 10017 (4 MB), flag 0x80 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ fdisk PReP partition > beg: cylinder 0, head 1, sector 0 > end: cylinder 9, head 15, sector 63 > 1: sysid 169 (NetBSD) > start 10143, size 16503921 (8058 MB), flag 0x0 > beg: cylinder 10, head 1, sector 0 > end: cylinder 1023, head 255, sector 63 > 2: <UNUSED> > 3: <UNUSED> > root@natsumi[/cdrom/installation/floppy]# disklabel wd0 > # /dev/rwd0c: > type: ESDI > disk: dtta350840 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 16 > sectors/cylinder: 1008 > cylinders: 16383 > total sectors: 16514064 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # microseconds > track-to-track seek: 0 # microseconds > drivedata: 0 > > 7 partitions: > # size offset fstype [fsize bsize cpg/sgs] > a: 129969 10143 4.2BSD 1024 8192 90 # (Cyl. 10*- 138) > b: 393120 140112 swap # (Cyl. 139 - 528) > c: 16503921 10143 unused 0 0 # (Cyl. 10*- 16382) > d: 10017 63 unused 0 0 # (Cyl. 0*- 9) > e: 655200 533232 4.2BSD 1024 8192 87 # (Cyl. 529 - 1178) > f: 2096640 1188432 4.2BSD 1024 8192 86 # (Cyl. 1179 - 3258) > g: 13228992 3285072 4.2BSD 1024 8192 86 # (Cyl. 3259 - 16382) > root@natsumi[/cdrom/installation/floppy]# /usr/mdec/installboot -v /cdrom/installation/floppy/generic_com0.fs /dev/rwd0c > boot: /cdrom/installation/floppy/generic_com0.fs > dev: /dev/rwd0c > Bootable image: PReP partition: start = 0, size = 2879 > image size = 1430498 ^^^^^^^ bytes > PReP partition: start = 63, size = 10017 ^^^^^^^^^^^^^^^^^^^^^^^^ sectors (= 5096448bytes) --