Post by MalthusPost by §ñühw¤£fI downloaded the latest image (raw) from haiku os website and unzipped it under
BeOS to a folder. Now do I just copy the image file (500mb) to a USB key next?
Not exactly; a normally formatted USB drive has partition tables and
stuff at the very start of the drive and partition(s) beyond that. If
you just copy the image over in the normal way as you would copy a
picture or document it'll just end up as a file within the partition.
That won't work. Instead you use the dd tool to overwrite everything
from the very start of the drive
Post by §ñühw¤£fI read
this:http://www.haiku-os.org/documents/user/how_to_get_haiku_booted
the important bit there is where it gives some examples of using dd
"
# under BeOS to partition X on the master on the first channel
dd if=/path/to/image of=/dev/disk/ide/ata/0/master/X
# under BeOS to the raw slave on the first channel (overwriting the MBR)
dd if=/path/to/image of=/dev/disk/ide/ata/0/master/raw
# under Linux to partition X on the first harddisk
dd if=/path/to/image of=/dev/hdaX
# under Linux to the raw second SCSI disk (could be a USB drive)
dd if=/path/to/image of=/dev/sdb
In your case the target is likely to be somehting like
/dev/disk/scsi/0/0/raw but please use drive setup or something to
confirm. The important word is "raw" rather than 0 or 1 - ie the whole
drive rather than a partition. Similar thing with that last example
under linux; notice that the raw disk is sdb rather than sdb1 or sdb2.
I tried but am getting the following errors:
Report bugs to <bug-***@gnu.org>.
$ ls -alR /dev/bus/usb/
/dev/bus/usb:
total 0
drw-r--r-- 1 baron users 0 Aug 29 12:28 .
drw-r--r-- 1 baron users 0 Aug 29 06:28 ..
drw-r--r-- 1 baron users 0 Aug 29 12:28 0
crw-r--r-- 1 baron users 0, 0 Aug 29 12:28 unload
/dev/bus/usb/0:
total 0
drw-r--r-- 1 baron users 0 Aug 29 12:28 .
drw-r--r-- 1 baron users 0 Aug 29 12:28 ..
crw-r--r-- 1 baron users 0, 0 Aug 29 12:28 0
crw-r--r-- 1 baron users 0, 0 Aug 29 12:28 hub
$ dd if=/hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw
/bin/dd: /hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw: No
such file or directory
$ dd if=/hal9000/home/Haiku haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw
/bin/dd: unrecognized option `haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw'
Try `/bin/dd --help' for more information.
$ dd if=/hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw
/bin/dd: /hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw: No
such file or directory
$ dd if=/hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw
/bin/dd: /hal9000/home/Haiku/haiku-alpha-gcc4.image=/dev/disk/scsi/0/0/raw: No
such file or directory
So I went to the partition its saved to to make sure its there...
$ cd /hal9000/home/Haiku
$ ls
haiku-alpha-gcc4.image
And its there...so I tried again to make it work:
$ dd if= /hal9000/home/Haiku/haiku-alpha-gcc4.image= /dev/disk/scsi/0/0/raw
/bin/dd: unrecognized option `/hal9000/home/Haiku/haiku-alpha-gcc4.image='
Try `/bin/dd --help' for more information.
$
Obviously not doing something right.
Please advise.
--
Proof of Americas 3rd world status:
http://www.ramusa.org/
Cash for *who*?
http://www.bartcop.com/list-the-facts.htm
"I believe there are more instances of the abridgement of freedom of the people
by gradual and silent encroachments by those in power than by violent and
sudden usurpations.... The means of defense against foreign danger historically
have become the instruments of tyranny at home."
-James Madison