Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2011 16:59:54 +0100
From:      Maciej Milewski <milu@dat.pl>
To:        Monthadar Al Jaberi <monthadar@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: boot RSPRO from usb
Message-ID:  <2627625.rUEEKy6LTO@snifi>
In-Reply-To: <CA%2BsBSoKrGDKh9S1K1w0gn28D%2BS=YLt5zFWfV3FETNWXWbt9Ewg@mail.gmail.com>
References:  <CA%2BsBSoKdkEjE1ykuy6oHrn%2Bqv7unruWS_BSS2J73W-zajMkXvg@mail.gmail.com> <11610829.bYiI1B7eQ0@snifi> <CA%2BsBSoKrGDKh9S1K1w0gn28D%2BS=YLt5zFWfV3FETNWXWbt9Ewg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dnia pi=C4=85tek, 9 grudnia 2011 16:00:59 Monthadar Al Jaberi pisze:
>=20
> ofcourse:
> makefs -t ffs -B big -s 20m ../target_image/rootfs.img rspro/root/
Doesn't sound wrong but don't have my script to compare now.
>=20
> I dont know if I need to run fsck, I am using same image embedded in =
kernel:
> ROOTDEVNAME=3D\"ufs:/dev/md0.uzip\"
>=20
> and it works, and also as I noted above I have an old kernel that
> loads fine from same usb....
I must have overlooked that.

>=20
> > Alternative way maybe would work. Have you tried to run system from=
 nfs
> > and create fs by newfs + (cp || untar || rsync || install) needed
> > system files?
> sorry, but I dont understand, can you explain a bit more?
1. boot some working environment with tools like gpart, newfs, mount
2. gpart your usb drive (or not if you want to use full drive)
3. newfs that
4. transfer tar.gz of rspro/root contents and utar it into new drive
5. reboot with correct rootdevname

Does that sound better? :)
>=20
> > --
> > Maciej
--=20
Maciej



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