من می خواستم توزیع تینی کور را روی فلش نصب کنم اما از مرحله ۳ به بعد نمی دانم چطور انجام دهم و چیزی روی فلش ذخیره نمی شود.
اگر کسی می داند لطفا کمک کند
This is a shameless modification of the old DSL instructions (written by SaidinUnleashed, to give full credit). This was performed from a Debian Sid x86 system. The USB stick is /dev/sdc1.
1) Install necessary tools. On Debian this is syslinux, mtools, and dosfstools:
Code:
aptitude install syslinux mtools dosfstools
2) Partition the thumb drive. I used fdisk to partition the thumb drive into one large FAT32 partition. The following directions are from memory but should be correct.
Code:
umount /dev/sdc1 # Never use fdisk on a mounted partition
fdisk /dev/sdc1
d
1
d
2
d
3
d # These commands delete all partitions currently on the device
n
p
1 # This makes a new primary partition
a
1 # This makes it bootable
t
1
b # This makes it FAT 32
w
Now, I always overwrite the drive's mbr in case it was used for booting from grub sometime in the past. This is not normally necessary.
Code:
dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdc
Now, make a FAT 32 partition:
Code:
mkfs.vfat -F 32 /dev/sdc1
3) Copy over the files
You will need to mount the iso image using loopback and then copy over the files.
Code:
mkdir /mnt/iso
mount -o loop tinycore_1.0rc1.iso /mnt/iso
mkdir /mnt/usb
mount /dev/sdc1 /mnt/usb
cp /mnt/iso/* /mnt/usb
4) Set up syslinux
Since the ISO uses isolinux, we will need to make some changes
Code:
mv /mnt/iso/boot/isolinux /mnt/iso/boot/syslinux
mv /mnt/iso/boot/syslinux/isolinux.cfg /mnt/iso/boot/syslinux/syslinux.cfg
rm -f /mnt/iso/boot/syslinux/isolinux.bin # This didn't stop it from working for me, but I'm not sure if this file is necessary.
syslinux /dev/sdc1