Error: invalid or damaged bootable partition, when booting from USB.
I created a bootable Puppy Linux on USB Flash Disk by following the instructions on the Puppy Linux Web Site.
I used Windows XP DELL Laptop (new and powerful laptop) to create the Live CD, and then create USB Bootable Image from "Menu/Setup/Puppy Universal ...."
I first tried to use the Bootable USB on the same DELL Laptop, so I press "F12" while booting, and choose to boot from USB. After I press Enter, I get this error:
invalid or damaged bootable partition
I tried the same USB on my new Eee PC from Asus, and it worked successfully without any problem.
While I was making the Bootable USB, I get some messages from Puppy Linux that if it does not work, then I can try using a different MBR by copying it from somewhere, but I cannot remember exactly what to do now.
Can anyone help me to resolve this problem.
The easiest way to "remember" is to run the wizard again up to that point.
The wizard will not actually write to the device until the last step.
I recommend trying with mbr.bin first
Thanks a a lot. I will try that and let you know how it goes.
I wonder if you could help me with this.
I am using this Bootable USB mainly to perform Full System Backup of my Eee PC using "dd" from command line. So, I do that manually.
I am looking for a simple method to automate this process. I am not bad in bash programming, and with some help, I think I can make it, or if there is a tool, that will be great too !
Following are the main feature of the Backup Tool I am looking for:
1. Initiate the Backup while I am booted from the Eee as usual. Meaning, I carry out some command, that will write some flags on the USB, and when booted on USB under PuppyLinux, it will carry out the "dd" command automatically. Once completed, just clear the flags.
2. Using Automated Naming Convention with the option to add comments the be attached to the new Backup.
3. When Booted on USB under Puppy, the Script responsible for backup should start automatically (just like 'autoexec.bat' from MS DOS Days). This script will check the status flags on the USB and read some config parameters to decide where to do the backup, mount the External Drive if needed, do the required validation, ask to user to add comments and start the backup.
4. Generate some logs to indicate the status of the backup and save them in normal log file using similar naming convention, or in one big log file for all backups, depending on the parameteres in the config file on the USB.
That is what I am looking for.
Any help will be greatly appreciated.
Here are my thoughts
dd is OK but why not use partimage?
Or even better why not just backup your MBR once using dd or partimage and then every time you boot from the USB doing (assuming that your eee drive is identified as sda1 and that you have a large enough pupsave file)
This way you;
You have two main places where you can call this script from:
If you call it from /etc/rc.d/rc.local
It will execute at boot but any prompt you do for "comments" on the console
If you call it from /root/.xinitrc
It will execute as soon as the graphical environment starts and you can then prompt graphically for comments.
Of course my little script is just a guide, you can replace cp with dd or partimage and you'll have to add the logic.
I hope this hints help.
Oh, where were you ?! I was looking person who has such knowledge.
Yes... this is the kind of thinking I had in mind, but I am lacking the knowledge in Linux.
Please allow me to ask questions with regards to this subject "Automate Full Backup":
1. partimage is a command similar to dd ?
2. MBR once using dd or partimage ?
3. I want to backup the Entire Drive while booted from USB, becuase I was told that I have to boot from external drive to make such full backup to ensure no writes are being made and the backup is in a consistent state. Is this ture ?
4. What is "squash file sytems " ? Can you give me some links on the net to do some reading on this subject ?
5. Using script, what is the best way to Read Variables from a config file, in the format:
PARAMETER NAME = PARAMETER VALUE
6. Is there a command that will reboot the Eee ?
I'd recommend googling to get the full scoop on partimage, and squash file systems.
Practically speaking it depends on what you want to backup. If you just want to backup data, then the answer is "not necessarily" as long as the files that you want to backup are not open.
Remember, Web searches are your friends. Use them as much as you can
|All times are GMT -5. The time now is 12:20 AM.|