passing disk geometry parameters to the kernel at boot time
Jerry McAllister
jerrymc at clunix.cl.msu.edu
Mon Feb 16 07:24:59 PST 2004
>
> Hi
>
> I'm having problems with FreeBSD 5.2-RELEASE getting
> the proper disk geometry.
> When I was installing I passed the correct info and
> installed, but once I rebooted the info is wiped off
> and again it has the wrong geometry what makes my
> system very "crashy"
Time for you to do some searching. This has been covered in
detail several times in the last 3 or 4 months. Someone write
a very helpful description of disk geometry and posted it about
a month ago. If you can find that, it might help you
understand.
But, basically, most of the time, the numbers you see are "virtual"
and you don't want to change what the system thinks even if it
isn't consistent from one utility to the next and the utilities such
as fdisk make little remarks in their output. You should be
going by sector _count_ from the beginning of the disk and ignoring
cyl/head/sector values except in some very special situations.
This is true when you slice and parititon and then especially
when you boot.
////jerry
>
> PS: is there a way to do this in lilo or grub???
> thanks in advance
>
> Jorge
>
> _________________________________________________________
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list