General TC > Tiny Core Netbooks
(SOLVED) archiving and restore w/ syslinux (extlinux)
patrick013:
Hi,
I have a habit of taking monthly backups with fsarchiver. Can restore
these to any flash drive with a few grub legacy commands also.
With Tiny Core installed to a flash drive, I see it uses syslinux and
extlinux.conf. From an outside drive, what would the commands
look like to put syslinux in the MBR to boot the flash drive from the
restored Tiny Core archive, which is merely restored as is to the
flash drive ? I'm thinking if I try to switch this to grub legacy I'll
lose persistence at least, and cause a lock-up at worst. I have /home
nicely set for persistence.
Any advice ? Simple as "syslinux /boot /dev/sdb" from terminal ?
Some older documentation I found has contradictory examples for
different approaches.
THX.
patrick
Guy:
It is not completely clear what you are asking. You may want to reword the question.
My best guess is that you backed up your entire Tinycore installation to a flash drive, and you want to boot it from another bootloader.
If you use Grub legacy on the other drive, and syslinux/extlinux on the usb drive, you could use
title Flash Drive
root (hd1,0)
chainloader +1
in Grub legacy
Change root (hd1,0) to the correct drive.
The problem with this method, is that it may be (hd1,0) in one usb port and (hd2,0) in another. So you may want to use UUID.
You can't boot operating systems on usb drives in many older computers.
I suggest also looking into Grub4Dos. It has more functions.
There is an easier way. Set the computer bios so it boots from the usb drive before the hard drive. Do you know how to do this?
Is this what you are trying to do? If not make the question clearer.
patrick013:
--- Quote from: Guy on June 06, 2012, 05:01:23 AM ---Is this what you are trying to do? If not make the question clearer.
--- End quote ---
Thanks for the response.
I've backed up TinyCore and restored it to a flashdrive (sdc). I've tried this
command per the SYSLINUX Wiki -
dd bs=440 count=1 conv=notrunc if=mbr.bin of=/dev/sdc
The command was accepted and copy was confirmed.
sdc is the new flash drive to be booted from.
Well it says the operating system is missing. So my
dd command to put SYSLINUX in the MBR didn't work.
I need to be able to put SYSLINUX in the MBR to boot the
flash drive. Copying or restoring the program to the flash
drive shouldn't be a problem.
That's the question. Sorry if not clear before.
thx
patrick
Rich:
Hi patrick013
The missing operating system message is probably because you didn't copy bzImage to /mnt/sdc/boot. You should
also copy tinycore.gz over there.
patrick013:
--- Quote from: Rich on June 07, 2012, 08:54:07 PM ---Hi patrick013
The missing operating system message is probably because you didn't copy bzImage to /mnt/sdc/boot. You should
also copy tinycore.gz over there.
--- End quote ---
Hi,
Right now /boot contains vmlinux, core.gz and the extlinux
directory. Same as on the source. Any other possibilities ?
THX.
Navigation
[0] Message Index
[#] Next page
Go to full version