Results 1 to 3 of 3

Thread: To chroot or not to chroot

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    NY
    Posts
    10

    To chroot or not to chroot

    I messed up /etc/x11/xfconfig-4 on hdd2.
    I need to boot the cd, open /etc/x11/xf86Config-4 (on hdd2)edit, and save the changes. When I do, Kwrite won't allow the write. A chroot /mnt/hdd2 returns numerous Permission denied.

    I can boot fom the hard drive, log in as root (no GUI) , but can't seem to find x11 in the etc directory, even though when booting from cd , the directory and everything is there when I click on the /mnt/hdd2 icon.

    I know this is simple...

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    try booting the CD with
    knoppix single
    startx
    now you are root
    dont forget enable writing mode for hdd2

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: To chroot or not to chroot

    Quote Originally Posted by sminotti
    I messed up /etc/x11/xfconfig-4 on hdd2.
    I need to boot the cd, open /etc/x11/xf86Config-4 (on hdd2)edit, and save the changes. When I do, Kwrite won't allow the write. A chroot /mnt/hdd2 returns numerous Permission denied.

    I can boot fom the hard drive, log in as root (no GUI) , but can't seem to find x11 in the etc directory, even though when booting from cd , the directory and everything is there when I click on the /mnt/hdd2 icon.

    I know this is simple...
    Try booting from the CD then in a console window:

    sudo mount /dev/hdd2 /mnt/hdd2
    sudo cp /etc/X11/XF86Config-4 /mnt/hdd2/etc/X11/XF86Config-4

    This will copy the config file from the CD to the HD and allow you to boot to the KDE login screen also I see when you type the lines here you are not using Capital letters where necessary if you are doing this from the HD when you booted then you will not be looking for the right directory.

Similar Threads

  1. X apps in chroot
    By garyng in forum General Support
    Replies: 7
    Last Post: 12-21-2004, 02:09 AM
  2. chroot problem
    By Gandalf_Grey_ in forum Customising & Remastering
    Replies: 5
    Last Post: 03-15-2004, 06:53 AM
  3. chroot help
    By gursharnsingh in forum Customising & Remastering
    Replies: 2
    Last Post: 01-15-2004, 09:38 PM
  4. X programs from chroot
    By rdmelin in forum Customising & Remastering
    Replies: 4
    Last Post: 08-20-2003, 02:27 PM
  5. chroot Name Res Fails
    By mmaki in forum Customising & Remastering
    Replies: 3
    Last Post: 01-08-2003, 06:43 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
  •  


DELL PowerEdge R730XD Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45

$387.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



Cisco UCS C220 M4 1x Xeon E5-2667 V4 3.20GHZ 128GB DDR4-2400MHZ 2x 770W AC PSU picture

Cisco UCS C220 M4 1x Xeon E5-2667 V4 3.20GHZ 128GB DDR4-2400MHZ 2x 770W AC PSU

$129.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$153.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$169.95



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Dell R730XD Server 12BAY 3.5

Dell R730XD Server 12BAY 3.5" + 2 BAY 2.5" 2x E5-2680v3 32GB, H730p mini 5720-4P

$349.99