Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make centos-6.4 64-bit U disk installation disk

2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to make centos-6.4 64 bit usb drive installation disk. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

Since centos6.4 64-bit iso files are larger than 4G, the file system used to boot linux is fat32 format and cannot support files above 4G, so it is invalid to make x64 installation disks in UltraISO mode.

The u disk installation disk is made in a linux environment, usually using a virtual machine, and installs vmware tools and host shared files.

Official reference: wiki.centos.org/HowTos/InstallFromUSBkey

Environment requirements: Windows 7, VMware Workstation 8

Download files: CentOS-6.4-x86_64-bin-DVD1.iso, CentOS-6.4-x86_64-bin-DVD2.iso

1. Prepare a U disk with more than 8G.

2, virtual machine mount u disk.

3. Check the current disk situation

fdisk -l

//u drive is usually/dev/sdb

4, divided into two areas, the first fat32, about 250M. The rest is ext3.

fdisk /dev/sdb

//Delete all partitions. Repeat several times until all partitions have been deleted

No partition is defined yet!

d

//Create partition

n

p

1

+250M

//Modify partition type to W95 FAT32

t

b

//Create a second partition

n

p

2

//Start-up area flag

a

1

w

5. Format

//Download formatting tools

yum install dosfstools

mkfs.vfat -n BOOT /dev/sdb1

mkfs.ext3 -m 0 -b 4096 -L DATA /dev/sdb2

6, reseat u disk

7. Mount u disk

mkdir /media/BOOT

mount /dev/sdb1 /media/BOOT

mkdir /media/DATA

mount /dev/sdb2 /media/DATA

8. Mount Centos DVD1

//Enter the installation CD directory./mnt/hgfs/centos is the directory on the author's machine. Readers can adjust it according to the actual situation.

cd /mnt/hgfs/centos

mkdir /mnt/tmp

mount -t iso9660 CentOS-6.4-x86_64-bin-DVD1.iso /mnt/tmp -o loop,ro

9, Copy isolinux, images file to u disk BOOT partition

cp -r /mnt/tmp/isolinux /media/BOOT/

cd /media/BOOT/

mv isolinux syslinux

mv syslinux/isolinux.cfg syslinux/syslinux.cfg

cp -r /mnt/tmp/images /media/BOOT/

Install syslinux

yum install syslinux

syslinux /dev/sdb1

11, copy images, DVD1, DVD2 to USB drive DATA partition

cp -pr /mnt/tmp/images /media/DATA/

cd /mnt/hgfs/centos/

for i in 1 2; do cp -v CentOS-6.4-x86_64-bin-DVD${i}.iso /media/DATA/; sync; done

12. Unload U disk

umount /mnt/tmp

umount /media/BOOT

umount /media/DATA

13, u disk installation disk production completed!

When installing linux with u disk, enter BIOS first and select boot from u disk;

After entering the installation interface, select Install from Hard Disk;

When selecting hard disks, sda2 is usually selected.

Thank you for reading! About "centos-6.4 64-bit u disk installation disk how to make" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report