Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 17:09:52 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        current <current@FreeBSD.ORG>
Subject:   formatting bootable media
Message-ID:  <3DB5E8D0.5050106@isi.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

the following produces a bootable CF card under 4.7:

	dd if=/dev/zero of=/dev/da2 bs=512 count=32
	fdisk -BI da2
	disklabel -w -B da2s1 auto
	disklabel -r da2s1 > /tmp/da2s1
	disklabel -r da2s1 | grep ' c:' | sed 's/c:/a:/' >> /tmp/da2s1
	disklabel -R -B da2s1 /tmp/da2s1
	newfs /dev/da2s1a

When executed under -current, I end up in the loader when booting from 
the media, and I can't seem to get it to see the file system:

	Console: internal video/keyboard
	BIOS drive C: is disk0
	BIOS 639kB/64512kB available memory
	
	FreeBSD/i386 bootstrap loader, Revision 0.8
	(root@nik.isi.edu, Thu Sep 19 12:19:30 PDT 2002)
	\
	Hit [Enter] to boot immediately, or any other key for command 	prompt.	
	Booting [kernel]...
	can't load 'kernel'
	can't load 'kernel.old'

	Type '?' for a list of commands, 'help' for more detailed help.
	ok ls
	open '/' failed: no such file or directory
	ok lsdev
	cd @ 0x11ee0
	disk @ 0x10ca0
	    disk0:   BIOS drive C:
	        disk0s1a: FFS
	pxe @ 0xeef0

If I access the -current-created media under 4.7, I see these messages:

	da2: rejecting BSD label: raw partition offset != slice offset
	da2: start 1, end 2104704, size 2104704
	da2c: start 0, end 2104703, size 2104704
	da2s1: rejecting BSD label: raw partition offset != slice offset
	da2s1: start 1, end 2104704, size 2104704
	da2s1c: start 0, end 2104703, size 2104704

Any ideas? Might this be geom-related? Or a pilot error on my part?

Thanks,
Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	080fErtcvE.0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
040827235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B	li+@]jy.%݊
Z<D&iHΥbb090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0	+0	*H
	1	*H
0	*H
	1
021023000952Z0#	*H
	1BۏW?3u@[0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0
	*H
Id]@^{ҡCɡC@q
T}bw:NtU	U!FNmmր&/,
=:(`_OgY
EUwة
Bf1pj8fd<@w3|<]&WCXoFɕ/<'༅0.cfqǣ/0G$;BA01
5~0+`]FnΊY#1ߙyDepv9e'
d=v$eUHT`

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB5E8D0.5050106>