Port-cobalt archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: restorecd, fdisk problems on cobalt



Erik Berls wrote:
> When you say starting, do you mean it says "executing bootloader
> kernel..." then hangs, or something else?
> 

it was hanging on executing bootloader kernel and then stopped here..

> fdisk and disklabel partitions match up?
they seems :

# fdisk
Disk: wd0d
NetBSD disklabel disk geometry:
cylinders: 387621, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 390721968

BIOS disk geometry:
cylinders: 1024, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 390721968

Partition table:
0: Linux native (sysid 131)
    start 63, size 21105 (10 MB, Cyls 0-20)
        PBR is not bootable: All bytes are identical (0x00)
1: Linux swap or Prime or Solaris (sysid 130)
    start 21168, size 1180368 (576 MB, Cyls 21-1191)
        PBR is not bootable: Bad magic number (0x5f6c)>
2: NetBSD (sysid 169)
    start 1201536, size 389520432 (190196 MB, Cyls 1192-387620)
        PBR is not bootable: Bad magic number (0x0000)>
3: <UNUSED>

are those bad magic number an issue ? do you have the same ?

here is the disklabel wd0 output :
# wd0d:
type: ESDI
disk: ST3200822A
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 387621
total sectors: 390721968
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:   2097648   1201536     4.2BSD   1024  8192    64  # (Cyl.   1192 -
  3272)
 b:   1180368     21168       swap                     # (Cyl.     21 -
  1191)
 c: 389520432   1201536     unused      0     0        # (Cyl.   1192 -
387620)
 d: 390721968         0     unused      0     0        # (Cyl.      0 -
387620)
 e:     21105        63 Linux Ext2      0     0        # (Cyl.      0*-
    20)
 f:  33555312   3299184     4.2BSD   1024  8192    64  # (Cyl.   3273 -
 36561)
 g:   8389584  36854496     4.2BSD   1024  8192    64  # (Cyl.  36562 -
 44884)
 h:   1024128  45244080     4.2BSD   1024  8192    64  # (Cyl.  44885 -
 45900)
 i: 344453760  46268208     4.2BSD   1024  8192    64  # (Cyl.  45901 -
387620)


> /boot in the linux partition contains the right bits?  <-- this should
> get  you to the NetBSD bootstrap prompt.  Realistically, I'd first
> worry about getting there then the rest of the disk.

Hmm I have wiped the disk completely and then I reinstalled using
my bootable moded restore cd, It works and booted correctly.

there is one things I'm not sure to understand, in the linux partition
holding the vmlinuz* kernels that boots the netbsd kernel.

There is "by default" this boot.gz which is very small, I remember that
before you could load up kernel directly, it seems that it's not the
case anymore and that my previous hanging issue was due to the fact that
i changed all vmlinux* kernel links to my new generic cobalt kernel
instead of boot.gz..

Is it  cobalt "bios" -> ext2fs partition /boot/boot.gz -> wd0a:/netbsd now ?

so to install a new kernel i could replace the /netbsd like in any x86
installation ?

A part from that I had to cross recompile basename statically linked as
/usr is in a different partition (so is the libc).

everything seems to works perfectly, I will give a try on testing more
extensively the port :)

> -=erik.

Thanks,
Regards,
Eric.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index