Results 1 to 2 of 2

Thread: chroot / hostname problem

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    3

    chroot / hostname problem

    Hello,

    When i chroot into my new knoppix for remastering, the hostname doesnt change (offcourse). To make it a little easier to tell the difference between my 'normal' knoppix en de chrooted one, i want to change the hostname.
    I did this by changen the /etc/hostname file in my chrooted environment. After exiting en logging back on, nothing is changed (although my /etc/hostname file is different...).
    The command 'hostname xxx' gives the same result.

    Is there any other file i should change, or im i simply forgetting something?

    Many thanks in advance!

  2. #2
    Member registered user
    Join Date
    Mar 2005
    Posts
    87

    Re: chroot / hostname problem

    Quote Originally Posted by bertheylen
    Hello,

    When i chroot into my new knoppix for remastering, the hostname doesnt change (offcourse). To make it a little easier to tell the difference between my 'normal' knoppix en de chrooted one, i want to change the hostname.
    I did this by changen the /etc/hostname file in my chrooted environment. After exiting en logging back on, nothing is changed (although my /etc/hostname file is different...).
    The command 'hostname xxx' gives the same result.

    Is there any other file i should change, or im i simply forgetting something?

    Many thanks in advance!
    Alternatively you could modify your bash profile. I use a specific colour scheme for my remasters, which is different to the remastering enviroment. When I chroot in to the remaster, the new bash profile comes with it and I have a different colour for the prompt.

Similar Threads

  1. chroot problem
    By frustrated user in forum Customising & Remastering
    Replies: 10
    Last Post: 05-21-2007, 09:58 PM
  2. Chroot Problem
    By davidx7773 in forum Customising & Remastering
    Replies: 2
    Last Post: 12-13-2006, 06:12 PM
  3. chroot problem
    By Gandalf_Grey_ in forum Customising & Remastering
    Replies: 5
    Last Post: 03-15-2004, 06:53 AM
  4. chroot problem. I looked for solution i cant find any.
    By estranged in forum Customising & Remastering
    Replies: 1
    Last Post: 11-13-2003, 10:54 PM
  5. Can't set hostname.
    By WimG in forum Networking
    Replies: 5
    Last Post: 09-27-2003, 04:16 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
  •  


HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5

HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS

$52.00



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



Western Digital 4TB Internal 7.2KRPM 3.5

Western Digital 4TB Internal 7.2KRPM 3.5" (WD4000FYYZ) SATA Hard Drive ZERO HOUR

$69.99



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

$188.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$74.99



CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture

CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD

$9.00



Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive

$99.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$110.00



Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ picture

Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ

$39.95



Hitachi 4TB 3.5

Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K

$49.95