Re: Saving games with the Game spin?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's hard to reply to list with GMail. ;-(
I am summarizing what I do to make my spin game USB key, which should
be able to save files on it.
Note that because of the way overlay persistent memory works, erasing
files on the USB key, will NOT give you  more space. So you are doom
to begin once again a day.

I have read http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB
and I conclude that 'the only' tool
to write a game spin disk iso image on a USB key while being able to
save on it is to use
livecd-iso-to-disk that is part of the livecd-tools package that you
could install with:
su -c 'yum install livecd-tools'
This suppose you have Fedora already installed!

I found that my USB key was /dev/sdb1 by looking the output of mount:
...
/dev/sdb1 on /run/media/paul/B874-A0CD type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

YOU HAVE TO BE SURE YOU ARE USING YOUR USB KEY PARTITION, NOT NECESSARY
/DEV/SDB1 BECAUSE YOU COULD ERASE YOUR DISK (I SUPPOSE) BY MISTAKE.

[paul@ip216-239-66-63 ~]$ su -c "umount /dev/sdb1"
Mot de passe :

** Avoid using more than 2000 in next line, if using VFAT **
*** Also, my system is not recent enough to use EFI BIOS, so it is
easier, read doc if your compute is too recent ***
[paul@ip216-239-66-63 ~]$ su -c "livecd-iso-to-disk --overlay-size-mb
2000 ./Fedora-19-Nightly-i686-Live-games-20130518.11-1.iso /dev/sdb1"
Mot de passe :
Verifying image...
/home/paul/Fedora-19-Nightly-i686-Live-games-20130518.11-1.iso:
00d551a97c547c8e216b470856ed3c62
Fragment sums: d65c11b4e715551d537691d841279a11b4fc5f44f4e117cb2aec837ad6e1
Fragment count: 20
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.
Partition isn't marked bootable!
You can mark the partition as bootable with
    # /sbin/parted /dev/sdb
    (parted) toggle N boot
    (parted) quit

[paul@ip216-239-66-63 ~]$ su -c "parted /dev/sdb"
Mot de passe :
GNU Parted 3.1
Utilisation de /dev/sdb
Bievenue sur GNU Parted ! Tapez 'help' pour voir la liste des commandes.
(parted) help
...
(parted) print
Modèle: FLASH Drive SK_USB20 (scsi)
Disque /dev/sdb : 8210MB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos
Disk Flags:

Numéro  Début   Fin     Taille  Type     Système de fichiers  Fanions
 1      2851kB  8210MB  8207MB  primary  fat32

(parted) toggle 1 boot
(parted) print
Modèle: FLASH Drive SK_USB20 (scsi)
Disque /dev/sdb : 8210MB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos
Disk Flags:

Numéro  Début   Fin     Taille  Type     Système de fichiers  Fanions
 1      2851kB  8210MB  8207MB  primary  fat32                démarrage

(parted) quit
Information: Ne pas oublier de mettre à jour /etc/fstab si nécessaire.

[paul@ip216-239-66-63 ~]$ su -c "livecd-iso-to-disk --overlay-size-mb
2000 ./Fedora-19-Nightly-i686-Live-games-20130518.11-1.iso /dev/sdb1"
Mot de passe :
Verifying image...
/home/paul/Fedora-19-Nightly-i686-Live-games-20130518.11-1.iso:
00d551a97c547c8e216b470856ed3c62
Fragment sums: d65c11b4e715551d537691d841279a11b4fc5f44f4e117cb2aec837ad6e1
Fragment count: 20
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.
Copying live image to target device.
squashfs.img
... This took about 20 mins for me (at 2 to 4 MB/s... might be my USB
slot be slow).
squashfs.img
  4072980480 100%    3.49MB/s    0:18:32 (xfer#1, to-check=0/1)

sent 4073477746 bytes  received 31 bytes  3658264.73 bytes/sec
total size is 4072980480  speedup is 1.00
osmin.img
       16384 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)

sent 16457 bytes  received 31 bytes  32976.00 bytes/sec
total size is 16384  speedup is 0.99
Updating boot config file
Initializing persistent overlay file
[This took about 7 mins]
2000+0 enregistrements lus
2000+0 enregistrements écrits
2097152000 octets (2,1 GB) copiés, 532,606 s, 3,9 MB/s
Installing boot loader
Target device is now set up with a Live image!
[paul@ip216-239-66-63 ~]$

532 seconds is a bit less than 9 mins.
So about 30 mins for all I think.

I am now ready to reboot and probably use F12 to boot on the USB key.
Wish me good luck!
_______________________________________________
games mailing list
games@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/games





[Index of Archives]     [Fedora Music]     [Fedora Extras]     [Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [CentOS]     [Gimp]     [Yosemite News]     [Yosemite Camping]

  Powered by Linux