Results 1 to 2 of 2

Thread: The dreaded chroot !

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    2

    The dreaded chroot !

    Hi All

    I am a linux newbie , i decided to give it a try when some malware hijacked my windows even after being scanned twice . It downloaded and f... me in real time . So I have decided no more and thats how I would up here .

    I am a linux newbie so all I ask is that if you have a suggestion please provide a concise code example or I will be totally lost at the slightest assumption .

    I ahve scouered the internet looking for an answer and can't seem to find anything useful even through posts of people that have had exactly the same problem.

    Whenever I try to chrooot into the directory I want to use for remastering the error is cannot run bin/bash " O suchFi8le or Directory"

    Checklist of what I did .

    mounter the drive as root and set rw permissions
    copies the Knoppix cd as root
    checked to make sure all copies directories had the appropriate permissions for gid and uid .

    I know that when the chroot command is executed , after specifying the new root directory you can run a command otherwise the system defaults to bin/bash . I am pretty sure all necessary directories and libs are present since everything off the cd has been copied .

    I kind of like the idea of remastering cuz I think its a great way to learn about the internals of linux . Just wish I was getting off to a better start .

    All help mych appreciated .

  2. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    2

    Figured it out

    Hi

    Ok for all that are stumped by this one .

    I reformatted the drive from FAT 32 to ext 3 . I don't get the NO Such file or directory error anymore but noy I am getting a dev null permission denied error . However this prob is fully documented and the asnwer to it is in the forum already as well as other places .

    Cause

    Linux doesn't understand how to preserve ownership of files on a Fat32 drive and I have a sneaky suspicion that chroot doesn't support Fat32 either. I am not about to go checking the other fat partions . I reformatted to Ext 3 and now I am ok again ...welll that is until the next stumper !

    lesson learned : Windows hated Linux not necessarily the other way around !

Similar Threads

  1. KDE Panel from chroot
    By alberto.orlandini in forum Customising & Remastering
    Replies: 3
    Last Post: 06-28-2006, 12:49 PM
  2. chroot in source
    By Sephiroth? in forum Customising & Remastering
    Replies: 1
    Last Post: 04-25-2006, 12:55 AM
  3. Remaster without chroot ?
    By spyhome in forum Customising & Remastering
    Replies: 0
    Last Post: 06-23-2005, 02:12 PM
  4. chroot help
    By gursharnsingh in forum Customising & Remastering
    Replies: 2
    Last Post: 01-15-2004, 09:38 PM
  5. To chroot or not to chroot
    By sminotti in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-07-2003, 07:46 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
  •  


HP ProLiant DL360 Gen 11 - Xeon Gold 5th Gen - 192 GB DDR5 ECC - 2x 240 GB SSD picture

HP ProLiant DL360 Gen 11 - Xeon Gold 5th Gen - 192 GB DDR5 ECC - 2x 240 GB SSD

$17000.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge R240 Intel Xeon E-2144G 3.6GHz 16GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2144G 3.6GHz 16GB DDR4 ECC NO HDD 250W

$149.00



Windows Server 2025 Standard✔ 24-CORE✔ 10 CALs✔ 50 RDS✔ Remote Desktop EP2-25205 picture

Windows Server 2025 Standard✔ 24-CORE✔ 10 CALs✔ 50 RDS✔ Remote Desktop EP2-25205

$317.56



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$169.99