Hello,<br> This is my third attempt at getting grml to run persistently.<br><br>Previous attempts used grml2usb to install it in tandem with other OSs, first using the grub, and subsequently syslinux. Both attempts ended badly. So, the third time, it was decided to opt for the option, grml-rescueboot to get things going.<br>
<br>0. Get a working Linux Mint system (extended partition sdX5). fdisk -l output is provided below.<br>1. Copied the grml64.iso into /boot/grml<br>2. Set up a separate partition called grml-home ( ---"--"--- sdX10) for persistence. <br>
3. Created persistence.conf in the / of grml-home and added all the paths as prescribed in the wiki.<br>4. Having already installed the grml-rescueboot package, running update-grub added the iso into the menu.<br>5. Reboot, and choose grml64.iso<br>
6. In the subsequent menu, chose the persistence option<br>7. Was provided with the following (approximately):<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
BOOT_IMAGE=/boot/grml64full/vmlinuz apm=power-off boot=live live-media-path=/live/grml64-full/ bootid=grml64full201302 nomce findiso=/boot/grml/grml64-full_2013.02.iso "${loopback}" "$kernelopts" persistence<br>
</blockquote>8. After persistence, appended the following: persistence-label=grml-home<br>9. Continue boot. During the boot, the messages scroll too quickly to make out if the persistence system is mounted or not. <br>10. mount on the command line gives:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">grml@grml ~ % mount<br>tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)<br>
tmpfs on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880,mode=1777,size=5242880,mode=1777)<br>proc on /proc type proc (rw,noexec,nosuid,nodev)<br>sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br>udev on /dev type tmpfs (rw,mode=0755)<br>
rootfs on / type rootfs (rw)<br>/dev/loop0 on /lib/live/mount/medium type iso9660 (ro,noatime)<br>/dev/loop1 on /lib/live/mount/rootfs/grml64-full.squashfs type squashfs (ro,noatime)<br>tmpfs on /lib/live/mount/overlay type tmpfs (rw,noatime,mode=755)<br>
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)<br>configfs on /sys/kernel/config type configfs (rw)<br>fusectl on /sys/fs/fuse/connections type fusectl (rw)<br>grml@grml ~ % <br></blockquote><br>So, grml-home is not mounted or being used at all. And cat /proc/cmdline gives:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">BOOT_IMAGE=/boot/grml64full/vmlinuz apm=power-off boot=live live-media-path=/live/grml64-full/ bootid=grml64full201302 nomce findiso=/boot/grml/grml64-full_2013.02.iso " " persistence persistence-label=grml-home<br>
</blockquote><br>Basically, no persistence partition was mounted. Despite the label added as a boot time. :-/<br>I would also like to bring your attention to the empty quotes in the above cmdline screen output.<br><br>Last but not the least, here is the output of fdisk, to let you know my disk configuration:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">grml@grml ~ % fdisk -l<br><br>Disk /dev/sdb: 60.0 GB, 60011642880 bytes<br>64 heads, 32 sectors/track, 57231 cylinders, total 117210240 sectors<br>
Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disk identifier: 0x000a9f2a<br><br> Device Boot Start End Blocks Id System<br>
/dev/sdb1 * 2048 200703 99328 83 Linux<br>/dev/sdb2 200704 6492159 3145728 82 Linux swap / Solaris<br>/dev/sdb3 6492160 48435199 20971520 83 Linux<br>/dev/sdb4 48435200 117209087 34386944 5 Extended<br>
/dev/sdb5 48437248 69408767 10485760 83 Linux ## Linux Mint<br>/dev/sdb6 69410816 86188031 8388608 83 Linux<br>/dev/sdb7 86190080 92049407 2929664 83 Linux<br>/dev/sdb8 92051456 95956991 1952768 83 Linux<br>
/dev/sdb9 95959040 97535999 788480 83 Linux # contains failed grml2usb --grub install<br>/dev/sdb10 97538048 98887679 674816 83 Linux ## grml-home<br>/dev/sdb11 98889728 101818367 1464320 83 Linux<br>
/dev/sdb12 101820416 109631487 3905536 83 Linux<br>/dev/sdb13 109633536 117209087 3787776 83 Linux<br><br>Disk /dev/sdc: 4089 MB, 4089446400 bytes<br>61 heads, 60 sectors/track, 2182 cylinders, total 7987200 sectors<br>
Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disk identifier: 0x00000000<br><br> Device Boot Start End Blocks Id System<br>
/dev/sdc1 8192 7987199 3989504 7 HPFS/NTFS/exFAT<br>grml@grml ~ % <br></blockquote> <br><br>So, my questions, <br>a) is there something extra that needs doing?<br>b) why is persistence.conf or persistence-label not being picked up and honoured ?<br>
b) why those spaces in quotes in the commandline in the final output?<br>d) .................................. ?<br><br>I would greatly appreciate any insight from your end that I might be missing here. I would like to get this thing going forward, and recognising the grml-home partition and storing all my settings for the next session would be just fantastic. <br>
<br>Many thanks in advance.<br>Surio.<br><br>