Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 17:25:24 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Tomek CEDRO <tomek.cedro@gmail.com>
Cc:        Bas Smeelen <b.smeelen@ose.nl>, freebsd-current@freebsd.org
Subject:   Re: 9.1-RC3 LiveCD missing features
Message-ID:  <CA%2BtpaK22Nbdr8z1s5_bK_7e8fVXU2Hm=Tk4iW1PDFyQF=T-s%2Bg@mail.gmail.com>
In-Reply-To: <CAFYkXjnkdjjRhuU6nUYCo4bHMiB9WspQy1Da9ZWs=0cNzYQJeA@mail.gmail.com>
References:  <CAFYkXj=R=V=3pUH9FbKq3pdqtga-EuJuTB1avZxi2bkLhUs5WA@mail.gmail.com> <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> <CAFYkXjnkdjjRhuU6nUYCo4bHMiB9WspQy1Da9ZWs=0cNzYQJeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 7, 2012 at 5:05 PM, Tomek CEDRO <tomek.cedro@gmail.com> wrote:

> As I get ffs_valloc kernel panic on my / I want to check for badblocks but
> cannot do that from the system itself so I need another FreeBSD instance to
> run badblocks on unmounted /. There are no badblocks on LiveCD and I cannot
> simply download it with pkg_add -r. Installing another system just to test
> existing one seems silly. It would be nice to finally have swiss army knife
> on generic LiveCD FreeBSD install, not using linux windows hirens etc :-)
>
> I have just started dd if=root of=root from LiveCD, Ill let you know if
> that worked :-)


You probalby want a filesystem tool but it's impossible to tell since you
didn't include all the relevant info.  Try fsck.

If you did want a "badblocks" tool from the base system, /sbin/recoverdisk
is the best.  dd is fine, but not as through as it.

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK22Nbdr8z1s5_bK_7e8fVXU2Hm=Tk4iW1PDFyQF=T-s%2Bg>