Advertisement
milomak

Untitled

May 7th, 2019
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. To create a live-USB, you'\''ll need a fat32 partition flagged as bootable.
  2. If you want a second partition for saving files, you can create it now.
  3.  
  4.  
  5. ' --list --column Task --column Num --column Description --width=590 --height=480 --button=OK:0 --button=Exit:1 Help 01 ' Instructions - Read Me! ' Options 02 ' Change default settings for this run.' Format 03 ' Run the disk partitioner. (gparted)' ISO_1 04 ' Create Live-USB from unpacked CD image.' ISO_2 05 ' Create Live-USB using intact iso and findiso boot option.' Live_1 06 ' Create Live-USB from a running live-usb system.' Live_2 07 ' Create Live-USB from a running live-cd system.' Persistent 08 ' Create/use a standard persistent partition. (mkpersist)' Loopback 09 ' Create/use a loopback file for persistence. (mkloopback)' Use_loop 10 ' Use an existing loopback file for persistence.' Rescan 11 ' ...after plugging in usb device (or to cleanup/unmount).' Tools 00 ' Go directly to the Tools/Utilities Menu.'
  6. + opts='Persistent|08| Create/use a standard persistent partition. (mkpersist)|'
  7. + [[ 0 = 1 ]]
  8. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Help ]]
  9. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ ISO_1 ]]
  10. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ ISO_2 ]]
  11. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Live_1 ]]
  12. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Live_2 ]]
  13. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Format ]]
  14. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Options ]]
  15. + [[ Persistent|08| Create/use a standard persistent partition. (mkpersist)| =~ Persistent ]]
  16. + partition_gui
  17. ++ yad --list --title=Partitioning --center '--text= You need to have a linux partition ready to create a persistent volume.
  18. The volume MUST have a label. Recommended format is ext2.
  19.  
  20. If there isn'\''t already a second partition on the usb drive, you can run
  21. the partition editor now and create one. ' --column Option --separator= --width=600 --height=300 --button=OK:0 '--button=Quit Task:1' 'Run GParted partitioner now.' 'Run cfdisk partitioner in a terminal.' 'No thanks, I already have a partition prepared. Continue.' 'I'\''d like to quit this task now.'
  22. + partitioner='No thanks, I already have a partition prepared. Continue.'
  23. + [[ 0 = 1 ]]
  24. ++ echo No thanks, I already have a partition prepared. Continue.
  25. ++ grep -q GParted
  26. ++ echo No thanks, I already have a partition prepared. Continue.
  27. ++ grep -q cfdisk
  28. ++ echo No thanks, I already have a partition prepared. Continue.
  29. ++ grep -q quit
  30. ++ find /dev -mindepth 1 -maxdepth 1 -name '*[sh]d[a-z][1-9]'
  31. ++ grep /dev/sdd
  32. ++ sort
  33. ++ awk '{print "\n" $0 }'
  34. ++ yad --list '--title=Persistent Partition' '--text=Select a partition to use for persistence.' --multiple --column ' ' --column Partitions --height=380 --width=150 --button=OK:0 '--button=Quit Task:1'
  35. + selection='(null)|/dev/sdd2|'
  36. + [[ 0 = 1 ]]
  37. + [[ -z (null)|/dev/sdd2| ]]
  38. ++ echo '(null)|/dev/sdd2|'
  39. ++ tr -d '|'
  40. + persist_dev='(null)/dev/sdd2'
  41. ++ /sbin/blkid -c /dev/null -s LABEL '(null)/dev/sdd2'
  42. ++ awk '-F"' '{ print $2 }'
  43. + persist_label=
  44. + [[ -z '' ]]
  45. + exit_message=' The partition chosen for persistence must have a label. '
  46. + exit_dialog
  47. + yad --question '--title=snapshot2usb error' --window-icon=error --button=Continue:0 --button=Exit:1 '--text=Error detected: The partition chosen for persistence must have a label.
  48. \nSee /home/user/.refracta2usb/snapshot2usb.log for details. Press "Continue" to proceed anyway'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement