Results 1 to 5 of 5

Thread: Knoppix and LVM

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    1

    Knoppix and LVM

    ...just when I was about to start some thinking about incorporating Kudzu into a Debian boot, here is Knoppix!

    My interest is in getting an easily installable Debian- I spent a lot of time hacking the Debian Woody install process to allow me to install everything into LVM (including root filesystem but not /boot... see <a href=http://21Chouse.com/> my poorly formatted notes on the process </a> ). I thought that would be the hard part, but the next steps are not easy, picking packages, trying to get all my h/w configured.

    So, my question is, is there LVM support within Knoppix so I could use it as the installer for my system?

    How hard would it be to add it if it is not there already? I am willing to do some hacking with the boot process (as I've already proven ...

    Cheers,

    Indulis

  2. #2
    Member registered user
    Join Date
    Jan 2003
    Posts
    38

    Re: Knoppix and LVM

    Quote Originally Posted by indulis
    So, my question is, is there LVM support within Knoppix so I could use it as the installer for my system?
    Indulis
    lvm is already on knoppix but it does not appear that the startup script is setup to use it, which means that you are stuck with using the command line to rebuild your lvm drive.

    It would be nice to have an lvm startup script that would do a vgscan then vgchange -ay. Once it knows the lvm layout, it would then scan the drives for fstab, then rebuild the drive partitions from that fstab and put that link into the kde desktop (read-only of course with an option to make it read-write just as regular partitions already are done)

    for instance lets say that the there are 3 logical volumes on the hard drive:

    /dev/volume/home
    /dev/volume/usr
    /dev/volume/root

    but the order to mount in fstab would be:
    /dev/volume/root /
    /dev/volume/usr /usr
    /dev/volume/home /home

    so the script would need to do the vgscan and vgchange -ay
    then discover that there is an vg called volume it would then scan the three lv's looking for (/etc/)fstab (which would be found in this case on /dev/volume/root/etc/fstab)

    It then creates the knoppix fstab with the following changes:

    /dev/volume/root /mnt/lvm/
    /dev/volume/usr /mnt/lvm/user
    /dev/volume/home /mnt/lvm/home

    Then knoppix could create the kde desktop icon to mount these read-only in the proper order and open /mnt/lvm in konqueror when the desktop icon is clicked. It would also have the same ability to mount these logical volumes read-write if chosen by right clicking on the desktop icon and choosing that option.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Knoppix and LVM

    --This is why I'm not using LVM on Debian(knoppix) yet; it's still working on my suse 7.3 install tho. I'm basically waiting for some decent frontend tools for LVM to rev (text-mode Yast was really pretty good for lvm setup.)

    Quote Originally Posted by sireasoning
    Quote Originally Posted by indulis
    So, my question is, is there LVM support within Knoppix so I could use it as the installer for my system?
    Indulis
    lvm is already on knoppix but it does not appear that the startup script is setup to use it, which means that you are stuck with using the command line to rebuild your lvm drive.

    It would be nice to have an lvm startup script that would do a vgscan then vgchange -ay. Once it knows the lvm layout, it would then scan the drives for fstab, then rebuild the drive partitions from that fstab and put that link into the kde desktop (read-only of course with an option to make it read-write just as regular partitions already are done)

  4. #4
    Member registered user
    Join Date
    Jan 2003
    Posts
    38

    Re: Knoppix and LVM

    Quote Originally Posted by Dave_Bechtel
    --This is why I'm not using LVM on Debian(knoppix) yet; it's still working on my suse 7.3 install tho. I'm basically waiting for some decent frontend tools for LVM to rev (text-mode Yast was really pretty good for lvm setup.)
    Mandrake's lvm setup tools are also very easy to use (it is integrated into their diskdrake tool)

  5. #5
    Member registered user
    Join Date
    Jan 2003
    Posts
    38

    mandrake's install cd might help with auto lvm setup

    I just thought of something... I know that Mandrake's installation cd does pretty much what I have mentioned.... It will mount the entire fstab for the hard drive under /mnt and that includes lvm and regular partitions. Most of the work has pretty much already been done, I would think that it should not take too much more effort to have it knoppix'd.

Posting Permissions

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


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed) picture

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)

$361.91



New Juniper Networks EX3400-48P 48-Port PoE+ 4-Port SFP+ Ethernet Switch Sealed picture

New Juniper Networks EX3400-48P 48-Port PoE+ 4-Port SFP+ Ethernet Switch Sealed

$466.65



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99



Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW) picture

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)

$999.99



Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter picture

Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter

$59.99



Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS picture

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS

$8199.99



Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB picture

Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB

$285.00



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97