-
Set a persistent different hostname while booting from CDROM
Hi all:
I installed Knoppix 3.6 and Knoppix 4.0.2 in VMWare virtual machine, I have created persistent HOME directory and saved configurations for both of them.
I want to set the hostname of v3.6 to "Knoppix3", v4.0.2 to "Knoppix4", persistently. so that I can start samba server and see "Knoppix3" and "Knoppix4" or even more computers in the Windows Network Neighborhood.
I have already edit /etc/hostname (NOT a link of /KNOPPIX/etc/hostname), and save the configurations persistently.
After reboot, I got "Knoppix" when I type hostname command, but the /etc/hostname file contains "Knoppix3" or "Knoppix4".
I even try edit /etc/sysconfig/knoppix, add "HOSTNAME=Knoppix3" line, save it, but after reboot, hostname always be "Knoppix" (but the HOSTNAME environment variable is "Knoppix3").
I must manual change the hostname after reboot every time by using hostname command, so How to set a persistent different hostname while booting from CDROM
Thanks!
My environments:
Virtual Machine: VMWare 5.5 Workstation for Windows
VMWare Host OS: Windows 2000 professional
VMWare Guest OS1: Knoppix 3.6
VMWare Guest OS2: knoppix 4.0.2
Guest OS1 & OS2 hard disk: /dev/sda, which is a VMWare disk file in Host OS, both are 100M size
Guest OS1 & OS2 persistent HOME directory created at: /dev/sda/knoppix.img, size=30M
Guest OS1 & OS2 configuration saved to: /dev/sda/config.tgz
Guest OS1 & OS2 boot option: knoppix myconfig=scan home=scan
Similar Threads
-
By stormspotter in forum Customising & Remastering
Replies: 1
Last Post: 07-07-2005, 02:58 PM
-
By Mr_White in forum Hardware & Booting
Replies: 1
Last Post: 03-25-2005, 05:55 PM
-
By GStoll in forum General Support
Replies: 2
Last Post: 12-03-2004, 04:02 AM
-
By stillspiraling in forum Laptops
Replies: 1
Last Post: 04-29-2004, 10:15 AM
-
By TheIowan in forum General Support
Replies: 3
Last Post: 07-08-2003, 07:06 AM
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

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$12.00

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99

Knoppix NSM 1.2
$8.00

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.97

Hamshack Live DVD-ROM
$7.00

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2
$8.03

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$34.42