Linux diskless installation Series

Source: Internet
Author: User
Tags ftp site net install

Q: How to Create a Linux boot disk
A: For redhat or turbolinux, there is A file zImage under/boot. Its name may not be
This, but the version number after the vmlinuz-x.x.xx ). More convenient is
Mkbookdisk -- device/dev/fd0 2.2.11 ~~~ Version Number
A vmlinuz-2.2.11 is required under/boot.
-- By handsome (annoying, why not ??)
Q: How can I use loadlin.exe in Windows?
A: copy [Linux-CD]: \ dosutils \ loadlin.exe c :\// whatever directory
Copy [Linux-CD]: \ dosutils \ autoboot \ vmlinuz // or/boot/vmlinuz
// The two files of each release have different locations. Please find them by yourself
C:
Cd \ // Haha, it's enough: P
Loadlin vmlinuz root =/dev/hd ?? Ro // check the file system when Linux is started,
// Therefore, Read-Only,
// The system automatically remount to Read-Write
// Now wait...
// Linux
Login: root
Password:
// Then you can perform some repair operations, or if you have replaced it with the vmlinuz in use
// The one on the original CD, so you do not need to use lilo to guide it. You have never used loadlin to enter
// Linux.
// For example, if your lilo cannot boot the system normally, you can perform the following operations:
# Lilo // if you want to use lilo to guide other Linux boxes, remember to mount it out.
# Reboot
Q: How to install redhat6.2 through FTP?
A: Use ftp://ftp.pku.edu.cn/pub/redhat-6.2/ I #as an example.

Use rawrite.exe to create a bootnet. img boot disk.
.../I386/dosutilsto find rawrite.exe, in.../i386/images
Find bootnet. img
Use this disk to boot. Follow the instructions in e to step by step.
Note: The iso file is a CD ing file and cannot be used for ftp installation.
-- By JulienW (Julien Wood)

Boot from the hard disk, follow the steps below:
However, this requires a linux machine. I have done this. You can pull the files through ftp.
(Note: Some of the files mentioned below are
Ftp://ftp.scut.edu.cn/pub1/linux/net_instal directory)

1. mount-o loop-t msdos bootnet. img/mnt/tmp_mount
~~~~~~~~~~~~~~~ Empty directory created by yourself
2. cp/mnt/tmp_mount/initrd. img/mnt/_ c
~~~~~~~~~
Whatever you want, you only need to get win.
3. Now, we can use loadlin.exe
Reboot to windows/dos, use loadlin.exe to boot to linux net install...
Loadlin boot = vmlinuz initrd = initrd. img
~~~~~~~ ~~~~~~~~~~~ The file obtained above.
This file is available on the CD, and many release versions are different. You can find it.
Or copy from the same project where initrd. img is located.
4. Step by step, install linux from the ftp site.
Q: When Linux is installed, the swap always says No free primary. Why?
In addition, do I have 64 M memory instead of swap?
In the original partition, c, d, e under win98 may correspond to hda1 hda3 hda5
Run a boot manager with pqmagic to calculate hda2 in one zone.
The remaining space is about 1.4 GB, which is allocated to the swap area 64 MB.
Others are for native, but the no free primary error always occurs.
What's going on?
A: There are only four primary partitions. Put swap in the extended partition.
-- By djq (jasmine * ice black tea)

No, I have 128 M and 64 M swap partitions.
In rh6, 128 M only has 48 M free, while 64 M swap partitions are all free.

-- By fzs)
Swap partitions are required, regardless of the size,
All the work can be done by dividing the extension into 8 Mb.

-- By handsome (annoying, why not ??)
Q: How to re-display lilo
A: If no need to modify/etc/lilo. conf, run 'lilo' directly will do.
Use floppy disk to boot linux, then run lilo

Or use loadlin.exe and autoboot/vmlinuz under/dosutilson your Linux disk,
Copy these two files to your c: \ and then loadlin vmlinuz root =/dev/hdaX. Note:
/Dev/hdaX refers to the partition where your Linux root is located.

-- By LinuxFarmer (LinuxZealot)

Then confirm that lilo. conf is correct and run lilo once.

Q: How do I remove lilo from the hard disk?

A: Go to DOS/Windows and execute
Fdisk/mbr
-- By SingleBoy)
If lilo is in mbr, fdisk/mbr dos/windows)
Or in lilo-u linux)
If lilo is root, delete the partition!
-- By WYHui (Hui)

Q: How do I delete Linux partitions?

A: The simplest is to use pqmagic to directly Delete the partition and format it as needed.
Alternatively, use fdisk in linux. Note that this method is not recommended for new users.
Fdisk/dev/hd? ? Indicates the hard disk device to be operated
Press the t key to modify the partition type, select the Partition Number, and enter 6. This is
The system id of FAT 16, or B (fat 32), c (win95 fat32, lba ),
D (win95 fat16, lba). Use the w command to write data, and then exit q. Then reboot enters windows,
You can format the hard disk partition.
Reproduced from China South kapok BBS"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.