Nell'ultimo post ho scritto
Mad, questo script è una dragata!!!!!
;
non ritratto, ma ci aggiungo: SE RIUSCIAMO A FARLO FUNZIONARE!!!!!!!!!!!!!............
Dunque, dopo aver provato e riprovato per n volte mi sono arreso: o è la pendrive (PHILIPS 8Gb fat32 ?? 08DFDO2B/00) o sono io ke toppo qualcosa;
il problema, in se per se, nn è il partizionamento (lo script crea le partizioni delle dimensioni indicate di cui Sdx1 partizionato Vfat e visibile da windows) ma il fatto che su sdX4 in realtà Grub o nn viene proprio installato o viene installato in modo incompleto (senza il file spalshimmage.gz ed il menu.list ma con i soli file device.map ed i binari dei vari stadi);
ho deciso dunque di postare il file shell.txt registrato con l'ultima prova nella speranza che qualcuno più competente possa comparae il messaggio d'errore con il testo dello script stesso:
Script started on Thu Jan 29 12:30:52 2009
root@slax:~# tar xzf mk-boot-usb-08h.tgz
root@slax:~# ls
Desktop mk-boot-usb-08h.tgz shell.txt usr
root@slax:~# cd usr
root@slax:~/usr# cd 7sbin
bash: cd: 7sbin: No such file or directory
root@slax:~/usr# m
Display all 115 possibilities? (y or n)
root@slax:~/usr# m./m ./mk ls
sbin share
root@slax:~/usr# cd sbin
root@slax:~/usr/sbin# mk
mk_cmds mkfileswap mkfs.cramfs mkfs.reiserfs mkmanifest mkslaxsave
mkdir mkfontdir mkfs.ext2 mkfs.xfs mknod mksquashfs
mkdosfs mkfontscale mkfs.ext3 mkhybrid mkpasswd mkswap
mke2fs mkfs mkfs.jfs mkisofs mkreiserfs mktemp
mkfifo mkfs.bfs mkfs.minix mklost+found mkrescue mkzftree
root@slax:~/usr/sbin# mk / ./mk-boot-usb
ls: cannot access /dev/sd?: No such file or directory
=+=+= Insert the usb stick, wait a few seconds (often the usb stick
=+=+= will flash a bit), and press enter to continue. If file manager(s)
=+=+= pops up, please press control-C to abort and read the web pages
=+=+= about disabling automatic mounting.
=+=+= Your usb stick has these partitions: /dev/sdc /dev/sdc1 /dev/sdc2 /dev/sdc4 /dev/sdc5 /dev/sdc6 /dev/sdc7
=+=+= The most recently modified few files in each partition are:
mount: No such file or directory
=+=+= [ /dev/sdc ]
total 0
umount: /tmp/mk-boot-usb/mnt/sdc: not mounted
=+=+= [ /dev/sdc1 ]
total 0
mount: No such file or directory
=+=+= [ /dev/sdc2 ]
total 0
umount: /tmp/mk-boot-usb/mnt/sdc2: not mounted
=+=+= [ /dev/sdc4 ]
total 12
drwx------ 2 root root 12288 Jan 29 12:22 lost+found
=+=+= [ /dev/sdc5 ]
total 12
drwx------ 2 root root 12288 Jan 29 12:22 lost+found
=+=+= [ /dev/sdc6 ]
total 12
drwx------ 2 root root 12288 Jan 29 09:33 lost+found
=+=+= [ /dev/sdc7 ]
total 12
drwx------ 2 root root 12288 Jan 29 12:22 lost+found
=+=+= size of destination stick /dev/sdc: 7648 MB
=+=+= partition 4 using 16 MB; 7632 MB available for other partitions
=+=+= Type in a list of numbers separated by spaces representing
=+=+= the sizes of each partition in MB. For example:
=+=+= 7332 60 240
=+=+= means 1 fat and 2 ext2 partitions, each of size 7332, 60, 240 MB.
=+=+= Sizes: 6000 260 900 472
=+=+= THESE FILES and ALL OTHER FILES on /dev/sdc will be destroyed!
=+=+= Press 'yes' to continue. Are you absolutely sure?yes
16065+0 records in
16065+0 records out
8225280 bytes (8.2 MB) copied, 24.6803 s, 333 kB/s
sh: line 1: /usr/share/mk-boot-usb//lilo.mbr: No such file or directory
Disk /dev/sdc: 974 cylinders, 255 heads, 63 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdc: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdc1 0+ 763 764- 6136798+ c W95 FAT32 (LBA)
/dev/sdc2 764 971 208 1670760 5 Extended
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 * 972 973 2 16065 83 Linux
/dev/sdc5 764+ 796 33- 265041 83 Linux
/dev/sdc6 797+ 911 115- 923706 83 Linux
/dev/sdc7 912+ 971 60- 481918+ 83 Linux
Successfully wrote the new partition table
Re-reading the partition table ...
=+=+= formatting /dev/sdc1 ...
mkdosfs 2.11 (12 Mar 2005)
=+=+= formatting /dev/sdc4 ...
=+=+= formatting /dev/sdc5 ...
=+=+= formatting /dev/sdc6 ...
=+=+= formatting /dev/sdc7 ...
=+=+= copying ttylinux and customized grub config files to /dev/sdc4 ...
cp: cannot stat `/usr/share/mk-boot-usb//boot/': No such file or directory
=+=+= installing grub to /dev/sdc4 ...
sh: grub: command not found
grep: /tmp/mk-boot-usb//device.map: No such file or directory
Died at ./mk-boot-usb line
404, <STDIN> line 3.La prova in questione è stata eseguita con Slax 6.0 virtualizzata in Virtualbox 1.5.0 (ma altri tentativi sono stati fatti utilizzando knoppix 5.1 senza successo)
Perchè tanto accanimento?
A leggere bene il link postato Da MadBob lo script ha delle potenzialità immense se utilizzato in un Linux Day o in un LIP poichè prevede la possibilità di clonare una penna tipo su più penne di euguale o diversa capacità

; cioè a dire non più un rapporto 1:1 ESPERTO/NEWMBIE/PC ma una o più persone che possano diffondere con qualche clik Linux come se fosse un Virus!!!!!!!!
Ma ve lo immaginate il figurone?????? "VIENI AL LIP CHE TI METTIAMO LINUX IN TASCA.........1"
Ma bisogna essere preparati perchè qualche inghippo salta sempre fuori (manco a dirlo sempre a me

);
L'autore dice che il tutto può funzionare su qualsiasi pendrive, ma io sulla mia ho già trovato l'ostacolo......