In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about the common problems of diskless installation of linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Q: how to create a Linux boot disk
A: if it's redhat or turbolinux, there's a file zImage under / boot. Its name may not be
This is vmlinuz-x.x.xx (followed by the version number). It's more convenient.
Mkbookdisk-- device / dev/fd0 2.2.11 ~ ~ version number
Need to have vmlinuz-2.2.11 under / boot/.
By handsome (bothered, why not go home?)
Q: could you tell me how to use loadlin.exe under Windows?
A: copy [Linux-CD]:\ dosutils\ loadlin.exe c:\ / / any directory
Copy [Linux-CD]:\ dosutils\ autoboot\ vmlinuz / / can also be / boot/vmlinuz
/ / the locations of the above two files in different distributions are different. Please find them yourself.
C:
Cd\ / / , that's enough wordiness: P
Loadlin vmlinuz root=/dev/hd?? Ro / / check the file system because Linux starts
/ / so use Read-Only
/ / the system will automatically remount into Read-Write.
/ / Now wait...
/ / has entered the Linux
Login: root
Password:
/ / then you can do some repair operations, or if you have already replaced the vmlinuz you are using
/ / the one on the original CD, so you don't have to boot with lilo. Never use loadlin to enter
/ / Linux is fine.
/ / for example, when your lilo does not boot the system properly, you can do the following
# lilo / / if you want to boot another Linux Box with lilo, remember to mount it out
# reboot
Q: how do I install redhat6.2 on FTP?
A: take ftp://ftp.pku.edu.cn/pub/redhat-6.2/i386 as an example.
Please use rawrite.exe to make a bootnet.img boot disk (available in
Find rawrite.exe in. / i386/dosutils and find rawrite.exe in. / i386/images
Find bootnet.img in
Using this disk to guide, follow the e-text tips to do it step by step.
Note: the iso file is a CD-ROM mapping file and cannot be used for ftp installation.
-- by JulienW (Julien Wood)
You can boot from your hard drive, follow these steps:
But this requires a linux machine. Let me do the work, you go to ftp and want to show the file.
(note: some of the documents mentioned below are in
Under the ftp://ftp.scut.edu.cn/pub1/linux/net_instal directory)
1. Mount-o loop-t msdos bootnet.img / mnt/tmp_mount
~ an empty directory built by yourself
2. Cp / mnt/tmp_mount/initrd.img / mnt/_c
~
Whatever, as long as you can get it under the 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
~ ~ that's the file we got from above.
There is this file on the CD. Many distributions are different. You can look for them.
Or it can also be copied from the same land where the initrd.img mentioned above is located.
4. Step by step, install linux from the ftp site.
Q: when installing Linux, the swap area always says No free primary. Why?
In addition, is it possible to use 64m memory without swap?
In the case of original partition, c, d, e under win98 may correspond to hda1 hda3 hda5
A boot manager with a pqmagic is considered a zone hda2.
There is almost 1.4G of remaining space, which is allocated to the swap area 64m.
The rest is given to native, but there are always no free primary errors.
What's going on?
A: there can only be 4 primary partitions. You can put the swap in the extended partition.
-- by djq (Jasmine * Iced Black Tea)
No, I have 128m and 64m swap partitions.
In rh7, there is only 48m free in 128m, while 64m switching partition is full free
-- by fzs (snowflake fly)
Swap partitions are required, regardless of size
It can be done by dividing 8m in the extended score.
By handsome (bothered, why not go home?)
Q: how to redisplay 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 the loadlin.exe and autoboot/vmlinuz in your Linux CD / dosutils
Copy these two files to your c:\, and then loadlin vmlinuz root=/dev/hdaX, note:
/ dev/hdaX refers to the root partition of your Linux.
-- by LinuxFarmer (LinuxZealot)
After that, make sure that lilo.conf is correct and run lilo once.
Q: how do I remove lilo from my hard drive?
A: go to DOS / Windows to execute
Fdisk / mbr
By SingleBoy (Lone Eagle)
If lilo is in mbr, then fdisk/mbr (under dos/windows)
Or lilo-u (under linux)
If lilo is in root, just delete that partition!
-by WYHui (Hui)
Q: how do I delete a Linux partition?
A: the simplest thing is to delete the partition directly using pqmagic and format it into the desired format
Or, use fdisk under linux. Note that beginners are advised not to use it.
Fdisk / dev/hd?? Represents the hard disk device to be operated
After entering, press t key to modify the partition type, select the partition number, and then fill in 6, which is
System id for FAT 16, or b (fat32), c (win95 fat32, lba)
D (win95 fat16, lba). Q exits after writing with w command, and then reboot enters windows
The hard disk partition can be formatted.
Thank you for reading! This is the end of this article on "what are the common problems in linux diskless installation?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.