Results 1 to 2 of 2

Thread: Remastering: removing VirtualBox

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    1

    Remastering: removing VirtualBox

    I am remastering Knoppix and I want to remove all unnecessary packages. Problem is that, when I removing virtualbox-ose package using dpkg from chroot environment, it fails, because script cannot stop vbox kernel module, or smth like this. Of cource, it cannot, because my kernel does not contain this module, it is in Knoppix kernel, I think.
    Does anybody know, how can I remove vbox module from Knoppix kernel and cheat removing script? Or, may be, there is another way to remove Virtual Box from Knoppix CD?

  2. #2
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by Wizard View Post
    I am remastering Knoppix and I want to remove all unnecessary packages. Problem is that, when I removing virtualbox-ose package using dpkg from chroot environment, it fails, because script cannot stop vbox kernel module, or smth like this. Of cource, it cannot, because my kernel does not contain this module, it is in Knoppix kernel, I think.
    Does anybody know, how can I remove vbox module from Knoppix kernel and cheat removing script? Or, may be, there is another way to remove Virtual Box from Knoppix CD?
    Perhaps it would have been best to remove that package first, before modifying the kernel. Probably the fastest way to do this would be to use "insmod" to put that module back in, then remove the package as you described, and then remove the kernel module again. You could also use the original kernel module to do that work (and any other removals), then switch back to your customized kernel again before you finalize your re-mastered system.

    Cheers!
    Krishna

Tags for this Thread

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



Western Digital 1TB WD Green SN350 NVMe SSD, Internal M.2 2280 - WDS100T2G0C picture

Western Digital 1TB WD Green SN350 NVMe SSD, Internal M.2 2280 - WDS100T2G0C

$62.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

$26.29



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