Results 1 to 10 of 10

Thread: Propblem: Poor Mans Install and persitent home on same parti

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    2

    Propblem: Poor Mans Install and persitent home on same parti

    Hi all,

    I am using Knoppix 3.4 for a few weeks now. It works fine.
    Now I tried a HD install (Poor Man Install) using the cheatcode tohd=/dev/hda5. hda5 is FAT32 formatted.
    Rebooting from CD using fromhd=/dev/hda5 works fine. And I can also save my configurations on hda5 with the KNOPPIX tool.
    But now I am trying to create a persistent home with the KNOPPIX tool and I end up with a error message "hda5 already mounted as /cdrom".

    Now my question:
    How can I store all my KNOPPIX stuff on *one* partition? This means the /KNOPPIX folder, the configuration files and the persistent home, so that I can boot from the CD using:
    knoppix fromhd=/dev/hda5 home=/dev/hda5 myconfig=/dev/hda5

    Regards
    Ingo

  2. #2
    Member registered user
    Join Date
    Jan 2004
    Location
    Wales
    Posts
    42
    as far as i am aware, a poormans install will render the partition it is sitting in as read only. In my experience, you may be able to save a config or a persistant home, but will not be able to update it.
    try saving your home or config to either another partition or a zip drive or usb dongle or drive.

    can anyone else confirm this?

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    I've heard other people say that it isn't possible but it IS! or at least I have no problems keeping the KNOPPIX compressed file and a persistent home on the same partition however I use reiserfs not FAT32. Is there some reason you use FAT32? Here's my /boot/grub/menu.lst entry:
    Code:
    title BH09-KDE-STATIC /dev/hda7
    kernel (hd0,6)/boot/vmlinuz ramdisk_size=100000 init=/etc/init lang=us vga=791 nomce alsa xmodule=fbdev home=/dev/hda7 myconf=/dev/hda7 hdb=scsi
    initrd (hd0,6)/boot/miniroot.gz
    This is from Kanotix but it shouldn't make any difference.

  4. #4
    Member registered user
    Join Date
    Jan 2004
    Location
    Wales
    Posts
    42
    well,, yes there is a reason, due to everybody else using a Micro$oft OS, there are many times where i have to share files between os's.
    Does this mean that i could have a PMI and a Home on a single 1G reiserfs partition

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by outanet
    well,, yes there is a reason, due to everybody else using a Micro$oft OS, there are many times where i have to share files between os's.
    I am enlightened. Perhaps another FAT32 partition could be shared by your OS's for file sharing only.
    Does this mean that i could have a PMI and a Home on a single 1G reiserfs partition
    Well that's what I have and it works w/ no problems.

  6. #6
    Member registered user
    Join Date
    Jan 2004
    Location
    Wales
    Posts
    42
    Perhaps another FAT32 partition could be shared by your OS's for file sharing only.
    well in this case, its another physical drive as i have boxes of drives less than 2gig which are perfectly ok, apart from being rather less endowed than the 300G/26head/2 squillion cylinder ones you can now get.
    (pauses, then realises its geek humour.)

    eventually I hope to use them in a cluster or minios /server setup

    Ill play with this now,
    but do you know which fs' work, or is it only vfat which doesnt?

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Well ext2 works, never tried ext3 and reiser4 is only experimental for any use so I have never tried it either. Also keep in mind that I use GRUB from MBR not the Knoppix cd to boot my so-called 'poormans' install. Not sure if that matters in the least.

  8. #8
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Quote Originally Posted by mzilikazi
    I've heard other people say that it isn't possible but it IS! or at least I have no problems keeping the KNOPPIX compressed file and a persistent home on the same partition.
    I concur. I did that for a long time before someone told me I couldn't. I think the key is that you have to set up the PH in that partition while running the OS from CD. Once you do that, you can reboot with the knoppix fromhd=/dev/hda5 home=/dev/hda5 myconfig=/dev/hda5 boot line you desire.

    That having been said, there were times when the PH definition would spontaneously "disappear" for reasons I cannot begin to explain (data was still in the partition, but not recognized as in my "home", and Klik-installed programs no longer worked). It didn't happen too often, but when it did I had to re-create the PH, erasing my old PH data in the process. YMMV. After it happened 4-5 times, I recognized that there was little value in having a linux installation that was less stable than WinME, so I partitioned and saved my PH elsewhere (also, I had been contemplating a hd install at the time, so I figured I might as well partition, but once I did, it worked reliably, so I blew off the HD install as unnecessary).

    jd

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Hi all,

    I am using an ext3 filesystem where I store both my poor man's and my data. The only trick is to have a knoppix.sh that calls
    Code:
    mount /cdrom -o remount,rw
    Interestingly /cdrom is the poor man's boot device (while the real CD drive is /mnt/cdrom).

    This is all one needs to know!

    Greetings,
    probono

  10. #10
    Member registered user
    Join Date
    Jan 2004
    Location
    Wales
    Posts
    42
    many thanks for all the interested replys.

    ok well after playing, I now have my K3.4PMI and PH on a 1.5G ext2 partition (sda1) as well as 30G fat32(sda2) and 350mb swap(sda3).

    after boot i run my lil shell script which replaces httpd.conf(setting root as desktop/www and putting index.php as default), asks for passwd, and starts ssh, ftp, http, mysql and smb for web construction.

    its working well so far, and I suppose I have the possibillity to save the knoppix.sh home file elsewhere incase it goes missing.

    a little question thou, what config does the myconfig actually save, im guessing network which i dont need as it changes wherever i go , but what is in there which is not in the PH?

Similar Threads

  1. Eloquent Poor-mans Install
    By Dr PC Tunes in forum Tips and Tricks
    Replies: 17
    Last Post: 12-26-2005, 08:29 AM
  2. poor mans install for knoppix 3.3
    By metavoid in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-07-2005, 08:40 AM
  3. Trouble w Persitent Home, HD Install, Klik, Firefox etc
    By zian in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 05-19-2005, 07:11 AM
  4. Poor mans Install and Persistant home
    By jaykay in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 12-02-2004, 04:02 PM
  5. Poor Mans Install WinPartition
    By guyana in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-15-2004, 02:10 AM

Posting Permissions

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


Broadcom 9560-16I RAID Card  SAS/SATA/NVME 8G cache SAS3916 PCIe 4.0 SFF8654 picture

Broadcom 9560-16I RAID Card SAS/SATA/NVME 8G cache SAS3916 PCIe 4.0 SFF8654

$727.00



Intel PCIe SSD AIC RAID Controller Card G97168-252 picture

Intel PCIe SSD AIC RAID Controller Card G97168-252

$44.55



Adaptec ASR-81605ZQ 12G SAS 16-Port 1GB Cache PCIe x8 RAID Controller picture

Adaptec ASR-81605ZQ 12G SAS 16-Port 1GB Cache PCIe x8 RAID Controller

$131.99



Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested picture

LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested

$29.00



Oracle Sun 8-Port 6 Gbps SAS/SATA Raid Controller PCIe w/Cables 7055240 7047503 picture

Oracle Sun 8-Port 6 Gbps SAS/SATA Raid Controller PCIe w/Cables 7055240 7047503

$13.49



LSI 9271-8i MegaRAID 8-Port 6Gbps PCIe RAID Controller w/ 1Gb CacheVault & BBU picture

LSI 9271-8i MegaRAID 8-Port 6Gbps PCIe RAID Controller w/ 1Gb CacheVault & BBU

$30.99



G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply picture

G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply

$99.99



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99