General TC > Tiny Core Netbooks

(SOLVED) archiving and restore w/ syslinux (extlinux)

<< < (3/3)

patrick013:

--- Quote from: Guy on June 08, 2012, 09:07:23 PM ---The easiest way would be to install Tinycore on the flash drive. That way it will boot.

Then copy and paste any files you want to back up, to the flash drive.

You can install Syslinux or Extlinux or Grub4Dos manually, but it is more complicated.

--- End quote ---

I'm still contemplating this.   I thought I could copy files to the flash then install
mbr.bin with dd, well no way.    Tried installing grub legacy, it reads vmlinux, but
won't read core.gz, it appears to me.   Probably take a dd img of the thing then
in case I want to install it somewhere else then.   That from the original install
started from the iso, which is working fine.   Still contemplating what the problem
might be.   First time for me using syslinux(extlinux) so par for the course then.

thanks for the response.

patrick

Rich:
Hi patrick013
I'm inclined to agree with the advice offered by Guy. If you don't want to do it that way, then first decide on a
filesystem, DOS or Linux based, and select the correct bootloader. From the Info file for syslinux.tcz:

--- Quote ---                bootloaders for MS-DOS FAT filesystems (SYSLINUX),
                network booting (PXELINUX),
                bootable "El Torito" CD-ROMs (ISOLINUX), and
                Linux ext2/ext3/ext4 or btrfs filesystems (EXTLINUX).
--- End quote ---
If you decide on a Linux filesystem, the info file states:

--- Quote ---                Howto:
                $ sudo mkdir -p /mnt/sda1/boot/extlinux
                $ sudo extlinux -i /mnt/sda1/boot/extlinux
                copy and rename config from tinycore iso...
                $ sudo cp /path-to-file/isolinux.cfg /mnt/sda1/boot/extlinux/extlinux.conf
--- End quote ---
If you choose to use a DOS based filesystem, visit the  syslinux Wiki  for more information:
http://www.syslinux.org/wiki/index.php/SYSLINUX

patrick013:

--- Quote from: Rich on June 08, 2012, 10:38:15 PM ---Hi patrick013
I'm inclined to agree with the advice offered by Guy. If you don't want to do it that way, then first decide on a
filesystem, DOS or Linux based, and select the correct bootloader. From the Info file for syslinux.tcz:

--- Quote ---                bootloaders for MS-DOS FAT filesystems (SYSLINUX),
                network booting (PXELINUX),
                bootable "El Torito" CD-ROMs (ISOLINUX), and
                Linux ext2/ext3/ext4 or btrfs filesystems (EXTLINUX).
--- End quote ---
If you decide on a Linux filesystem, the info file states:

--- Quote ---                Howto:
                $ sudo mkdir -p /mnt/sda1/boot/extlinux
                $ sudo extlinux -i /mnt/sda1/boot/extlinux
                copy and rename config from tinycore iso...
                $ sudo cp /path-to-file/isolinux.cfg /mnt/sda1/boot/extlinux/extlinux.conf
--- End quote ---
If you choose to use a DOS based filesystem, visit the  syslinux Wiki  for more information:
http://www.syslinux.org/wiki/index.php/SYSLINUX

--- End quote ---

Hi also,

The only thing that's confusing using ext3 exclusively is why when
the filesystem is identically restored on an additional flashdrive,
that partition has the same UUID, label, format, and every other
parameter there is, why that darned mbr.bin dd'd to the first 440
bytes of the flash drive won't allow that drive to boot successfully.
Let me read the info on the AppsBrowser tomorrow and perhaps
some idea there will click up.   

It syslinux(extlinux) which is already configured must be looking from
the MBR to sda1, instead of to sdb1 or wherever the flash is installed.
Happens with grub if I don't change the root to hd0,0 in menu.lst on
the flash.  Then it boots infallibly when I restore the OS to a flash.
The flash is hd0,0 even tho it isn't sda1.   Don't know how to fix that
with syslinux(extlinux).   I suspect that's the only problem left

regards,

patrick
   




patrick013:
Well I can mark this solved finally.

Three steps:

1) restore TC to flash drive sdd1 from fsarchiver archive

2)  run sudo dd bs=440 count=1 conv=notrunc if=mbr.bin of=/dev/sdd

3) run sudo extlinux -i /mnt/sdd1/boot/extlinux


Booted right up and is running 100%.   

genec:

--- Quote from: patrick013 on June 07, 2012, 05:35:58 PM ---Well it says the operating system is missing.   So my dd command to put SYSLINUX in the MBR didn't work.
--- End quote ---
Partition active/boot flag.  Refer to mbr/mbr.S

Navigation

[0] Message Index

[*] Previous page

Go to full version