-
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

Corsair Vengeance LPX 16GB (2x8GB) CMK16GX4M2B3000C15 DDR4 Memory
$69.99

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V
$41.00

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram
$80.00

Corsair Dominator Titanium DDR5 96GB (2x48GB) 6600MHz DIMM CMP96GX5M2B6600C32W
$1250.00

G.SKILL Ripjaws V 32GB (2x16GB) DDR4-2666 DIMM 288-Pin XMP F4-2666C15D
$150.00

Corsair Vengeance LPX 32GB (4x8GB) DDR4-2400 PC4-19200 DIMM CMK64GX4M4A2400C14
$150.00