Subject: Re: How to make hdd bootable?
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 05/11/2007 19:18:21
--nxHRVcHUDGvUiLIo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 11, 2007 at 07:06:18PM +0200, Zbigniew Baniewski wrote:
> On Fri, May 11, 2007 at 05:46:56PM +0200, Quentin Garnier wrote:
>=20
> > You're on x86, right?  Using 'c' for user partitions is wrong on all
> > archs, but on x86 it's wrong to use 'd', too.
>=20
> Why?

'c' maps to the NetBSD part of the disk (i.e., the MBR partition), and d
is the whole disk.

> > How did you end up with such a broken disklabel?
>=20
> When I typed "disklabel" it did show only one partition, marked with 'c'.

It's really strange that d didn't appear.

> So, I simply chose next letters.
>=20
>=20
> Now I made repartition, and my disk currently has wd0a as root, and wd0b =
as
> swap.
>=20
> After "installboot" and first try to boot the system, it stops, saying:
>=20
> NetBSD/i386 lfsv2 Primary Bootstrap
> Boot failed (errno 2): Can't open /boot
>=20
> ...but of course "boot" file is present on wd0a.
>=20
> What now?

Is your root partition really lfsv2?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--nxHRVcHUDGvUiLIo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRkSlXNgoQloHrPnoAQL2LAgAtkQySrJgKxbgLyIJbZFY4Bl56vF16560
y5WBL9P+IXu3b1cQeM+7jcMVg+fhFswDiqKjSFbaBNNASEXXwbPFsDLeXtlP1wlk
W0OmyVUSCYZGNXRSSkq0a10LH7EjF/Okzfk41FsGpZ6oThy7FOMcFiLFIkqwLwjO
nDXa6Ljvs1vtt4dgNIED0NSNYyjTG113lUOQtaSy6g720xeOttc3bakJHOwX0o1P
zQcOf0h09+DZWITXipkru0g195gaPzYuWGA1uQ2CPtqwEF/F9AfM+Kfscq5emfSg
CByJTd5kayalOZluwMJAzzONpBche9mebT2DsNpm6X08K2pLuHHDXg==
=6bt3
-----END PGP SIGNATURE-----

--nxHRVcHUDGvUiLIo--