Results 1 to 6 of 6

Thread: Persistent Knoppix 6.2.1 in VMware Fusion 2.0.6

  1. #1
    Junior Member registered user
    Join Date
    Feb 2010
    Posts
    12

    Persistent Knoppix 6.2.1 in VMware Fusion 2.0.6

    I successfully used the English CD ISO to boot Knoppix 6.2.1 on VMware Fusion 2.0.6 (on Mac OS X 10.6.2), but using it without vmware-tools installed is pretty clunky. I'd like to install vmware-tools, but it's an exercise in futility if I can't get some kind of persistence! I tried the HDD install despite the caveats, but it wouldn't even boot (complaining about "unable to mount root fs on unknown block").

    Then I tried reformatting the ReiserFS partition to FAT32 and installing to it as if it were a flash device, or even making a persistent image on an existing physical flash drive and copying its /KNOPPIX directory to the virtual hard drive, but every time I tried to boot from it (either directly or from the Live CD w/ "knoppix fromhd=/dev/sda2") (there's swap in /dev/sda1) it would get as far as the multicolored MICROKNOPPIX and say "Waiting (USB)" until it finally fails to mount /mnt-system.

    I verified that fromhd works in certain circumstances, for example when actually rebooting my physical Macbook and booting the Knoppix Live CD I burned, then using fromhd with my physical USB drive (this uses the USB drive for everything, including the persistent image, as expected). But for some reason Knoppix insists upon loading from a USB drive when this cheat code is used, regardless of which device it was actually passed.

    The only thing left to try (though this would likely work) is attempting to remaster with vmware-tools installed, but that just seems rather heavy-handed. Plus I'd have to do it again if I ever wanted to install anything else. I mean, I could use VMware Fusion's "suspend" function as a poor man's persistence, but I think you have to full-on reboot to use vmware-tools properly, which of course trashes the vmware-tools install. Any other ideas?

  2. #2
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    Maybe create the virtual machine elsewhere, if possible?

    I don't know about Fusion, but I think there are several reports about succesful virtual installs of Knoppix under Linux or Windows hosts, running with VMware Workstation or Player. If you have install problems on your Mac, would it be possible to run a Knoppix VM created elsewhere? I guess the tools installation would run just fine when the basic persistent install is up. I would also guess that remastering with tools, even though possible, would be an unnecessary complication.

    I've been using VMware Workstation for years, but only on Linux hosts running Windows guests. And WS7 works very well on a Knoppix 6.2.1 host, I have installed and run the whole Windows series from Win 98 to Vista, on a machine that could natively only run XP.

    With Knoppix, you have a lot of headroom with the init process, skipping large parts of autodetection etc, or substituting your own scripts/programs. A lot can be achieved just juggling the cheat codes.

  3. #3
    Junior Member registered user
    Join Date
    Feb 2010
    Posts
    12
    Thanks for the quick reply!

    Unfortunately, I don't have access to Workstation or any other products (I don't think you can create VMs in Player...?), but I suspect that this is less of a VMware issue than it is a KNOPPIX issue since persistence just isn't working at all. I don't feel a need to do a real HDD install since that's pretty much Debian but not, but does anyone have any information on loading knoppix-data.img from IDE/SCSI hard drives instead of USB devices?

  4. #4
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by garaden
    Thanks for the quick reply!

    Unfortunately, I don't have access to Workstation or any other products (I don't think you can create VMs in Player...?), but I suspect that this is less of a VMware issue than it is a KNOPPIX issue since persistence just isn't working at all. I don't feel a need to do a real HDD install since that's pretty much Debian but not, but does anyone have any information on loading knoppix-data.img from IDE/SCSI hard drives instead of USB devices?
    Yes, I do that every day, usually several times. First, I did a poor man's install by issuing the following on bootup:
    knoppix tohd=/dev/sda1 (change to match your file structure), then
    knoppix fromhd=/dev/sda1 thereafter. You'll be prompted to create a persistent home directory with a password when you create the knoppix image.

    -Krishna

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I successfully used the English CD ISO to boot Knoppix 6.2.1 on VMware Fusion 2.0.6 (on Mac OS X 10.6.2), but using it without vmware-tools installed is pretty clunky. I'd like to install vmware-tools, but it's an exercise in futility if I can't get some kind of persistence! I tried the HDD install despite the caveats, but it wouldn't even boot (complaining about "unable to mount root fs on unknown block").
    I installed Knoppix 6.2.1 (DVD) into an VMware virtual machine as an HDD installation. Maybe my description of the procedure could help you with VMware Fusion. I use VMware Player 3.0 under a Windows XP host. (I installed Knoppix 6.2.0 before. Therefore I already knew how to change /usr/sbin/mkinitramfs in order to avoid one error message.)

    1. I started VMware Player and created a new virtual disk (20 GB, os type Debian 5). The virtual DVD was connected with the Knoppix iso. I booted into Knoppix live dvd and used gparted to create a reiserfs partition (18 GB) and a swap partition (2 GB).

    2. I mounted partition /dev/sda1 as /media/sda1.

    3. I started the HDD installation and selected my partition.

    4. I decided to install grub into the MBR but did not reboot at then end of the installation procedure.

    5. I mounted again my new knoppix partition as /media/sda1.

    6. Inside a terminal I executed
    Code:
    sudo leafpad /usr/sbin/mkinitramfs
    I searched the line "# MODULES=list case. Always honour" and inserted the line
    Code:
    touch "${DESTDIR}/${MODULESDIR}/modules.dep"
    Then I saved the file and ran the following command
    Code:
    sudo mkinitramfs -k -o /media/sda1/boot/initrd.img-2.6.32.6
    in order to create the initrd with all the drivers.

    7. As user root I examined /media/sda1/boot/grub/menu.lst and added the line
    Code:
    initrd	/boot/initrd.img-2.6.32.6
    8. I rebooted the system and created a new link in the root filesystem.
    Code:
    sudo ln -s / /mnt-system
    I can now place a knoppix.sh in the directory /KNOPPIX with commands to be executed before the start of the graphical user interface. After the installation of the VMware tools I use knoppix.sh to mount a shared folder from my windows host.

  6. #6
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by garaden
    ....(I don't think you can create VMs in Player...?)...
    Actually, the key file (.vmx) is a text file and even users with just player can edit it.

    A quick Google search should find for you multiple websites that will run you through a dialog and then download to you a custom .vmx file to your specs.

    Rather than use the websites that create vms, the best tool that I have found is VMXBuilder. It runs locally and can create new VMs or let you edit existing ones.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

Similar Threads

  1. Has anyone run the knoppix DVD using vmware?
    By dtzxdtzx1 in forum General Support
    Replies: 3
    Last Post: 07-11-2007, 11:00 PM
  2. Knoppix, Persistent home and VMWare
    By nnigam in forum General Support
    Replies: 0
    Last Post: 06-06-2007, 03:21 PM
  3. VMWare: VMWare Tools can not be installed
    By Josh83 in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 03-17-2005, 06:47 PM
  4. Knoppix-3.4 and Vmware-4.0.5
    By Ish Rattan in forum General Support
    Replies: 3
    Last Post: 05-20-2004, 04:49 AM
  5. Vmware Knoppix
    By biio in forum Ideas
    Replies: 4
    Last Post: 02-01-2004, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$99.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$23.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$29.95



Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe picture

Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe

$69.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$32.86



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$198.99