Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 13:03:28 -0800 (PST)
From:      Dorin H <bj93542@yahoo.com>
To:        Dan Strick <strick@covad.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Solved [Re: delete first partition XP and reformat as ufs -> kernel not found]
Message-ID:  <20031201210328.43218.qmail@web12608.mail.yahoo.com>
In-Reply-To: <200312010555.hB15tslB000684@mist.nodomain>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for replying again, but I succeed to press
"send" while editing the previous reply :((( (press
tab + space -> send, ooops)
I hope I included all the relevant information in my
previous reply.

To finish, I was wondering if I can specify in boot2
prompt which is the correct slice&partition to use for
booting.

If my assumptions are correct, in expression

0:ad(0,a)/kernel
^  ^ ^ ^   ^
|  | | |   |
|  | | |   - the path inside the partition
|  | | |
|  | | - partition in slice 
|  | |
|  | - ??? is this the slice #, drive # ???
|  - refers to driver
- refers to the disk unit 

If no RTFM is available, point me to the source files.
I am not familiar with the FreeBSD kernel sources, but
I'll have no problem reading some code.

Thank you again,

/Dorin.

PS2. Does anybody has a clue why the FreeBSD
associates the slice # 2 (i.e. ad0s2) for the PT entry
4? 
Initially, I had
MBR PT:
ad0s1   XP
 -      not used, reserved space
 -      not used, reserved space
ad0s2   FreeBSD (swap, /)

I have installed Debian swap and / in entries 2 and 3,
and the FreeBSD associated the (correct) numbers:

ad0s1   XP
ad0s2   Debian swap
ad0s3   Debian /
ad0s4   FreeBSD (swap, /)
    ^^

This made the FreeBSD boot process to fail until I
"fixit" the /etc/fstab to mount the correct root
partition.  At that time, I was also unable to specify
in boot2 prompt (?) where my / is.

My opinion is that if the PT entry # corresponding to
the PT entry were used in the first place, this
problem will be avoid.  Probably this reflects a
superficial view, but for a simple HDD configuration
this make sense to me. Thanks again for any
opinions/suggestions.


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



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