-
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!
-
Re: chroot / hostname problem
![Quote](images/misc/quote_icon.png)
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
-
By frustrated user in forum Customising & Remastering
Replies: 10
Last Post: 05-21-2007, 09:58 PM
-
By davidx7773 in forum Customising & Remastering
Replies: 2
Last Post: 12-13-2006, 06:12 PM
-
By Gandalf_Grey_ in forum Customising & Remastering
Replies: 5
Last Post: 03-15-2004, 06:53 AM
-
By estranged in forum Customising & Remastering
Replies: 1
Last Post: 11-13-2003, 10:54 PM
-
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
-
Forum Rules
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/g/TIMAAOSw969gDuvf/s-l225/HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
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](/store/img/g/tFMAAOSwjDVmceFV/s-l225/Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
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](/store/img/g/QHQAAOSwCPxl~ZwC/s-l225/Western-Digital-4TB-Internal-7-2KRPM-3-5-WD4000FYY.jpg)
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](/store/img/g/pB0AAOSwrbRkIWhk/s-l225/Fanxiang-4TB-2TB-1TB-SSD-550MB-s-2-5-SATA-III-Inte.jpg)
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](/store/img/g/buwAAOSwDghlwalj/s-l225/HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
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](/store/img/g/qqcAAOSw~xVgcyGX/s-l225/CISCO-A03-D1TBSATA-1TB-7-2K-6G-2-5INCH-SATA-HDD.jpg)
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/g/de0AAOSwcJJlDe~2/s-l225/Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![WD Ultrastar DC HC530 14TB SATA 6G 3.5](/store/img/g/gggAAOSwwB5mL~fg/s-l225/WD-Ultrastar-DC-HC530-14TB-SATA-6G-3-5-7200RPM-Ent.jpg)
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](/store/img/g/uDIAAOSwY95lQDIU/s-l225/Western-Digital-Gold-Enterprise-4TB-7200-RPM-Inter.jpg)
Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ
$39.95
![Hitachi 4TB 3.5](/store/img/g/Rm0AAOSwyN5ff32u/s-l225/Hitachi-4TB-3-5-Hard-Drive-HUS724040ALE640-Ultrast.jpg)
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$49.95