Can't boot from hard disk, *can* boot from CD
  • Just looking around
    Posts: 10 from 2004/5/6
    After getting the hardware set up and running, I followed the directions posted in MorphZone to copy MorphOS to the hard disk. I created two partitions, one 20 MB and the other 1 GB, used the install script to copy boot.img to the first, and the system to the second (I've actually done this twice now).

    I have not set up auto boot, so I type:

    boot /pci/ide/disk@0,0:0 boot.img

    It spins the little characters around for a bit as it boots, then writes "Quark/OpenFirmware" to the screen, then hangs with a blinking cursor.

    I have not tried looking at the serial port output, and can't right now because I left my USB serial adapter at home.

    Any ideas? Thanks a bunch!
    Rick
  • »10.05.04 - 20:39
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    todi
    Posts: 140 from 2003/2/18
    From: Gate to the World
    Is the first partition FFS?
    Do both partitions have unique names?
    Did you try

    boot /pci/ide/disk@0,0:0 boot.img bootdevice=dh0:

    Replace dh0: by the unit of your second partition.
    ToDi

    amigazeux.org
  • »10.05.04 - 20:49
    Profile Visit Website
  • Just looking around
    Posts: 10 from 2004/5/6
    The first partition is FFS, the second SFS. The first is named "bi0", the second "DH0". I tried typing exactly what you suggested, "boot /pci/ide/disk@0,0:0 boot.img bootdevice=DH0:", but it behaves the same way.
    Rick
  • »10.05.04 - 20:58
    Profile Visit Website
  • Targhan
    Posts: 2833 from 2003/2/8
    From: USA
    Have you checked inside SCSI-Config to ensure that the hardrive is on ide-0? Also, have you tried a warm-reset before entering the boot command?
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »10.05.04 - 21:46
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Mann
    I'm glad you got i booting at least! :-)

    Ok

    At the OF prompt type ls /pci/ide and tell us results please

    Also to boot try boot hd:0 boot.img

    or

    boot ide:0 boot.img

    Tell us what happens and good luck

    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »10.05.04 - 21:51
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ChatDEau
    Posts: 248 from 2003/4/4
    From: MONTREAL, Quebec
    @rmann

    Also, make sure you got the right boot.img file as, on the latest MOS, you got both Peg1 and Peg2 boot images. First time I updated, it installed the wrong one (in my case) and I had to boot with CD to go copy/rename it to the HD.

    Hope it helps!

    Fred
  • »11.05.04 - 00:17
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1068 from 2003/3/24
    From: Hamburg/Germany
    I had the same Problem, and it was my fault i set the First small Partition as bootable, after setting only the Sys partition as bootable the Problem has gone!
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »11.05.04 - 00:24
    Profile
  • Just looking around
    Posts: 10 from 2004/5/6
    "ls /pci/ide" returns:

    disk@0,0
    cdrom@1,0

    "boot hd:0 boot.img" spins, displays "Quark/OpenFirmware", then hangs. So does "boot ide:0 boot.img".

    Someone else asked if I got the correct boot.img file. I'm not sure. Whatever the Install script copied is what I've got.

    I have the drive on the main IDE controller, as master, and the CDROM the second IDE controller, as master.

    The first (small) partition is NOT bootable, the second is.

    Did I forget anything else?
    Rick
  • »11.05.04 - 00:50
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    nels664868
    Posts: 117 from 2003/12/28
    From: Fort Myers, Fl...
    Hi rmann,

    Was this hard drive new or out of an old PC?
    If old type ' ls hd' to see what type of partion block there is(amiga or PC)?

    nels
    Ask Dr. Stupid,
    Dear Dr. Stupid,
    Why do we have to go to school?
    That's a very good question. It's becuse your parents are
    ALIENS!!! When your at school they shed there human skins and
    breathe drier lint! hahahaha!
  • »11.05.04 - 01:21
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    ok

    SO type ls /pci/ide/disk@0,0:0

    or

    ls hd:0

    this will tell you the contents of your boot image partition - you should see your boot.img there

    it could be called bootpeg2.img as well list the contents here for furthur help.

    magnetic

    also make sure you are using flat ultra ata 133 80wire cable on your hd
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »11.05.04 - 03:26
    Profile Visit Website
  • Just looking around
    Posts: 10 from 2004/5/6
    "ls hd" returns:

    RDB partition 0 <FFS>: <bi0> (0x444F5301)
    RDB partition 1 <SFS>: <DH0> (0x53465300)

    The drive was previously formatted HFS+ (Macintosh).
    Rick
  • »11.05.04 - 18:22
    Profile Visit Website
  • Just looking around
    Posts: 10 from 2004/5/6
    "ls hd:0" returns

    boot.img 1553463 bytes
    boot.img-old 1553463 bytes
    2 File(s) 0 Dir(s)
    Rick
  • »11.05.04 - 18:23
    Profile Visit Website
  • Butterfly
    Butterfly
    Druideck
    Posts: 82 from 2003/5/6
    From: Canada
    My boot image now is: 1553003
    my old image was: 1559163
    these both work good on my Peg.
    I notice your image is different size??
  • »12.05.04 - 03:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Bifford
    Posts: 275 from 2003/2/24
    From: Wiltshire, UK
    Quick note - when I did my OS upgrade a month back (updated to 1.4.2 on my pegI) the boot.img that comes on the CD did EXACTLY what you say happens on your machine.

    Thankfully I have a cd of 1.3/1.4 as well as 1.4.2 - I booted from the 1.4 CD and copyed over the NEW boot.img from the ftp for my pegI and it booted (we wont go into my other problems here but that was the OF one! :)

    So I suggest you DO have the wrong boot.img.

    TTFN
    Bifford
    ========
    Bifford the Youngest

    My Website at: www.whiteharegames.co.uk/
  • »12.05.04 - 10:48
    Profile Visit Website
  • Just looking around
    Posts: 10 from 2004/5/6
    Hmm. Is there a way to get the boot.img used by the CD? The CD boots fine, so perhaps I can manually copy that file?
    Rick
  • »12.05.04 - 23:19
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Bifford
    Posts: 275 from 2003/2/24
    From: Wiltshire, UK
    boot via cd, then open the cd's contents and show all. its in the base directory. but this wont be the most up-to-date copy of boot.img

    So what i suggest you do is copy the cd's image twice: once as boot.img and once as boot.img-works. Reboot without the cd, and if the HD boots ok you know that image is fine. Wwhen you know the harddrive will boot off of that boot.img write over it with the newest version that youve downloaded.

    That should still work but if it doesnt work then you can tell the OF to boot from boot.img-works instead (which is a copy of the CDs image).

    Follow all that? ;)

    Bifford
    ========
    Bifford the Youngest

    My Website at: www.whiteharegames.co.uk/
  • »12.05.04 - 23:22
    Profile Visit Website
  • Just looking around
    Posts: 10 from 2004/5/6
    Well, since I installed from the CD, aren't the CD's boot.img and the boot.img installed from the CD the same? And if they are the same, shouldn't the machine boot from either one?

    Downloading the latest boot.img is a task way beyond me at this point. I can't figure out how to set up Morph OS's networking, and figured that was the least of my troubles.
    Rick
  • »13.05.04 - 00:48
    Profile Visit Website
  • JKD
  • Order of the Butterfly
    Order of the Butterfly
    JKD
    Posts: 456 from 2003/4/4
    From: South of heaven
    I set up my Peg II G4 yesterday and I had exactly the same problem but for me it was definately solved by making sure the first, small FFS partition was not bootable.

    Have you checked and double checked this?

    You could always try and use Scsiconfig to set the Boot Priority of the partition you really want to boot from higher...

    I have two partitions on the disk on the Primary IDE Master, a 256MB FFS and a 512MB SFS partition, both set to 512 block size and both with 100 buffers.

    Steve
  • »13.05.04 - 06:58
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    JKD

    WOHOOO Congrats on finally getting your peg2!!!!

    :-D :-D :-D :-D

    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »13.05.04 - 07:39
    Profile Visit Website