do you see my picture?
just becjk, libreoffice,otter and a txt file.
these are the basic or only function which layman need.
General Hardware Oriented System Transfer
it is the meaning of ghost which is the best alliance
of Microsoft before AD 2018.
unix-like is not designed for layman.
(yes,it is still hard to use for now.)
Windows is a company.
i don’t like it.
i have shared my layman’s experience article in my blog.
and now, i just need to figure the bug out.
why a message “Loading Haiku” ,then freeze.
after i dd the raw file into the partition.
if i know how to deal with it, my work is done.
if you don’t know how to deal with it or point where is the article, please don’t break it again and again.
i don’t want to explain “ why i insist on the ghost way” again and again.
Norton Ghost - disk image cloning/backup/recovery tool(s)
Usually, you obtained tools like PowerQuest’s Partition Magic and Norton Ghost or those tools were provided by a computer system builder/distributer - for computer system migrations and backup/recovery.
Partition Magic is provided with BeOS Pro. Norton Ghost lets you clone a single disk install configuration to several computers (versus going through the installation process on every computer (or using automated install script(s)).
Most basic user installation issues are properly getting through the Haiku install to disk - with little understanding of the finer installation processes (does not require a manual or looking into FAQs/Wikis/forums for answers). Others, like a provider/distributor, may want to install a premade image with various software included with the country locale/region selections preconfigured (like with BeCJK and such)…
I’d suspect the problem is with open files on the filesystem that he is trying to clone. Does dd know how to handle that. Personally I would have booted from a usb pen drive, mounted both partitions mentioned in the orginal postings and then run dd.
Please don’t take this as a personal attack, because it’s not meant as such.
I think most of us here in this thread have a bit of a hard time to understand what you really want to do. I know it can be hard with the language barrier, English isn’t my native language either.
Maybe you could try to make your postings a bit shorter, a bit more concise and stay with one topic instead of making general assumptions in all kinds of directions. As a community, we definitely want to help you.
Back on topic: Take a look at what I wrote as a reply to pulkomandy above. Maybe it solves your problem.
Maybe we can stop inventing problems that don’t exist. dd is a low level tool. It reads sectors from disk and writes them to a file. It doesn’t care if there are files open. In fact it doesn’t care if there is a filesystem at all.
Well, that wasn’t my intention at all. Sorry if that wasn’t clear enough
Ok, and this doesn’t create problems with data consistency? After all the operating system that you eventually want to boot from the created image does care about the files and their contents.
Of course. But the OP doesn’t care about such. What he would like is a tool that does installation of an image to a partition with a GUI.
1.) Do we have such a tool?
2.) Would such a tool be possible with C? I fear the Haiku GUI API is C++ only? Edit: But I could write a C library for disk I/O and a C++ program using it?
Install in the machine, configure with apps as you like, then run the installer to “install” thist to another partition/disk/whatever ? And then use this new “thing” to do other installations ?
Great! There are many things simpler in Haiku than in Windows and Linux (for example rolling back from a buggy system update etc.). Only problem is that I as a user have to abandon old (complicated) habits.
I think he is trying to pre-configure Haiku for a Chinese speaking audience. Make all the necessary adjustments with fonts, settings, perhaps even apps. And then use that pre configured state to share. It’s not so much a distribution, just doing the homework for a Chinese speaking user to be able to use Haiku. Of course I am just speculating at his motive but I’m basing this on his posts.
it seems dd will break the partition after re-writing.
i boot from the usb-driver with haiku. do these command.
dd if=/dev/disk/scsi/0/0/0/0 of=/data/haiku.raw bs=1M count=2048 status=progress
then, i format the /dev/disk/scsi/0/0/0/0 with driversetup.
and then,
dd if=/data/haiku.raw of=/dev/disk/scsi/0/0/0/0 bs=1M count=2048 status=progress
shutdown -r
it can not boot from the partition “/dev/disk/scsi/0/0/0/0”.
i boot from the usb-driver again.
and haiku system can not read the partition.
so, is BFS support with dd command?
the answer is no.
i have to figure the other way out to find out the ghost way with haiku.
i have shared my article “how to install haiku from the current ISO file with a lazy way”.
it is more than 1000 words.
if one new guy is interesting at haiku, it spend 1 hour to understand what is meaning. and another hour to install system , add application, adjust setting.
does any body have the free 2 hours?
if they meet a bug, they will spent another 2hours to figure the solution way out.
if ghost way, all is one sentence “ghost it back”.
“Haiku is an open-source operating system that specifically targets personal computing.”
i guess “personal computing” have two meaning.
one, the man have free time or spirit to dig the fun from computer.
the other, the man take the computer as a tool without any more idea.
so, you should tell me which is the major part in the world.
you may say the first part is future.
but the other part is reality for now.
by the way, i try again “dd if=/data/haiku.raw of=/dev/disk/scsi/0/0/0/0 status=progress”
still error message “ haiku can not mount the partition ; error Invalid Argument”.
As it’s already been said, dd is a low level command, to be used only by those who know what they are doing, and by the questions you pose, you don’t.
For starters, you’ve already been told that dd does not know and does not have to know or support filesystems. It just copies data. You’ve already been told that if you use it on a live partition, you’l very probably get corrupted data, as you’ll copy parts that change while you are copying them.
Then you are limiting what you are copying. If you knew what you are doing (or just read a bit about dd), you’d know you are just copying the first 2GB of the partition with that command, so that’s what you get when you copy it back.
Even if you learnt about dd, which you don’t seem to want to, and started using it correctly, just handling the images to other “layman users” and telling them to run a command without knowing their exact disk setup is, to put it lightly, dangerous. Long explanation about the dangers unneeded if you do your homework, and useless if you don’t.
So, if you want to help other people to install and configure Haiku for their needs, try something else. Do those installations yourself. Write detailed instructions with screenshots. Write a setup script. Or probably the best one: use Installer to copy an installed-as-you-like-it system to install media.
The answer is yes. dd copies the data byte by byte and does not care what the filesystem is. Several people use this often to copy their generated Haiku image to a partition and boot it.
There is a problem with what you did, but the problem is elsewhere, not in an incompatibility between dd and BFS.
We are currently in beta phase. There are many things we need to fix before we can do a stable release. This is one of them. We will fix it someday. Until then, Haiku is a bit more complicated than we want it to be.
This does not invalidate our vision, it just means we have not reached our goal yet. Please have a little patience. This is a very big project and it takes time.