[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: yaboot/openfirmware question [again]



Ok this time I really do think that os X install has fucked up my bootstrap
partition :


On 16/08/01 11:01, "Ethan Benson" <erbenson@alaska.net> wrote:
> btw the easiest way to fix that type is apt-get install parted  then
> run:
> 
> parted /dev/hda set 9 boot on
> 
> where 9 is the partition number of your bootstrap partition.

The 'parted' bin, which fortunately was on the boot cd of mandrakePPC, gave
me an error :

$ parted /dev/hda set 7 boot on
Give me something like : "the boot partition doesnot start here" :-(((


> On Thu, Aug 16, 2001 at 09:52:45AM +0200, Pejvan wrote:
>> ok thanks a lot, I did not knew about all this. Can I ask a question
>> that has nothing to do with the bootstrap ? ;) Can you give me some URLs
>> about how to initialize the Mac's hardware in order to boot OSes ? (I
>> mean programmers docs, for example how to write something like yaboot,
>> to boot a non Apple OS)
> 
> you want to learn OpenFirmware, and Forth, which is what OpenFirmware
> is implemented in.  you will find more useful info on OpenFirmware
> from Sun Microsystems then you ever will from apple.  also look for
> RFC (or whatever it is) 1275 thats the OpenFirmware spec.
> 

Thanks, i took a look at that, and the  apple stuff on ADC.
The ADC stuff is totally useless for my stuff, and the Sun's stuff seemed to
general... Do you think that reading the code of yaboot/ybin could help ?

>> OK thanks, it seems I cannot do this with pdisk anyway...
>> and nothing can be done under MacOS ?
> 
> nothing can be done under macos.  mac-fdisk can do it, but the only
> way is by deleting and recreating the partition, if you do this
> carefully and verify what you did before wrting the table this is
> usually safe.  i would only do it with the mac-fdisk in woody though,
> not potatos and certainly not LinuxPPC's.  just use `d' to delete it,
> then `b' to recreate in the same starting block.
> 
> if you are really brave use a hexeditor on /dev/hda1 ;-) just change
> the Apple_HFS to Apple_Bootstrap.
> 

Ok i'm really brave ( ;-) ) and I used and hexeditor on /dev/hda (not hdaX
btw :-)) and changed my Apple_HFS to Apple_Bootstrap, as you asked, but i
still cant boot linux, even with all the OF stuff I'd tried before...

So what's next ? Running the mandrake cd and
reconfuring/installing/rerunning the hole ybin/yaboot stuff ?

>> 'cause I dont have the debian isos whith me, and I cannot download
>> anything... so no apt-get for me :-((((( A friend told me he can give a
>> his mandrakePPC bootable CDs, is there a way to fix my problem with that
>> disc ?
> 
> mandrake may very well have parted on thier CD, i think that may be
> what they use as a backend to thier partitioner.

You were right, one more time could I say ;)

Many many thanks for your help

Pejvan
-- 
#define QUESTION ((2b) || (!2b))



Reply to: