Linux _ disk management and linux disk management
I. linux disk management
Ii. Actual operations
[root@hadoop09-linux ~]# fdisk /dev/sdbDevice contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabelBuilding a new DOS disklabel with disk identifier 0x2859532e.Changes will remain in memory only, until you decide to write them.After that, of course, the previous content won't be recoverable.Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)WARNING: DO
generate boot tapes so that the tapes contain an image of the root volume group. This is also a storage method for a single disk system. When the disk fails, it provides a rapid recovery method. Of course, the mksysb image used for restoration should be newer. You can also use mksysb to install another machine, which requires some configuration, such as IP address, because almost everything on the original machine is copied to the tape.
Back up the system image:
# Smit mksysb
The following page
just had a hard disk), run the following command: fdisk-l/dev/sda (my hard disk is SATA type) display information 740) this. width = 740; "border = 0>
Then we can take a look at their respective disk device files:
Use the command ll/dev/sda * to view 740) this. width = 740; "border = 0> you can try other commands on your own. Due to time issues, I will not talk about them here ~! Next let's take a look at how to use the fdisk tool to partition hard disks.
Ii. fdisk interaction mode:
After the c
framework addresses this untapped area by providing a small, efficient implementation of. net runtime for smaller devices. this has great advantages to developers who can maintain the same managed code, use the same world class tools, and continue to participant in the world's largest developer community.List areas of interest (including some weak knowledge that should be learned from this document ):1. Microsoft's continuum of processing capabilities for embedded applicationsWindows xpe (poten
key or key combination until the required functions appear (for example, during the startup process, press and hold the option until "Start the hypervisor" appears, or press shift until "secure startup" appears ").Prompt: If the boot function does not work and you are using a third-party keyboard, connect to the Apple keyboard and try again.
Key or combination key
Function
Option
Show all bootable volumes (start hypervisor)
1. VxWorks Development Method: Cross-development, which divides development into two parts: Host and target.Similar to the Development of C language programs in DOS.Advantages of combined development: simpleDisadvantages: high resource consumption, CPU support, and non-standard system supportHost (tornado) Target (vxwork) applet ModuleVxWorks actually adopts the Development ModeTornado provides: editing, compilation, debugging, and performance analysis tools. It is a VxWorks development tool.VxW
Mk_ramfs
Create ramfs and copy files to it
Build boot images, including the operating system kernel and ramfs
Create_bootimage
Compress_ramfs
Create and compress ramfs
Copy_ker
Copy/Unix kernel to temporary directory
Mkboot_compresss
Create and compress the kernel Image Based on the/Unix kernel in the temporary directory
Cat_ker_ramfs
Merge ramfs and kernel Images
Mkboot_image
Notify Bootstrap BLV location in the disk
Source: China Computer Education News
For those who do not have a soft drive installed, most of them will choose a virtual soft drive, but unfortunately the capacity of the virtual soft drive is too small, so they have to be limited in terms of functionality.
ISOEMU is an interesting software. After installation, you can use the ISO image file on the hard disk to guide the system, so that you do not need to use a dial when installing Linux. The principle is to use GRUP to boot the ISO file on th
in the active partition (bootable windows). The second windows may not be installed in the active partition, but its boot file must be in the active partition.
The general order is:
Grub --> windows?> Find the boot file-boot loading-start windows
Grub --> linux-> Find the boot file (/boot)?> Boot-start linux
If grub is installed on another partition, isn't it MBR? This is the primary partition where grub is installed. It must be set as an active part
Logical Linux swap 526.42 [Bootable] [Delete] [Help] [Maximize] [Print] [Quit] [Type] [Units] [Write] Toggle bootable flag of the current partition you enter the cfdisk operation interface; move the pointer to [Quit] on the keyboard to exit. 4. parted is a good partitioning tool. it is included in Fedora 4.0 and can be installed by yourself. in this topic, we only talk about how to view the partition infor
-------------------------------------------------------------------------------------------
Hda1 Boot Primary Linux ReiserFS 12000.69.
Hda5 Logical Linux ReiserFS 67496.65
Hda6 Logical Linux swap 526.42
[Bootable] [Delete] [Help] [Maximize] [Print] [Quit]
[Type] [Units] [Write]
Toggle bootable flag of the current partition
You enter the cfdisk operation interface. Move the pointer to [Quit] o
:[[emailprotected] desktop]# fdisk/dev/sdcdevice contains neither a valid DOS partition table, nor Sun, SGI or OSF D Isklabelbuilding a new DOS disklabel with disk identifier 0xd907b092. Changes'll remain in memory only, until the decide to write them. After that, of course, the previous content won ' t is recoverable. Warning:invalid flag 0x0000 of partition Table 4 would be a corrected by W (rite) warning:dos-compatible mode is deprecated. It ' s strongly recommended to switch off the mode (co
environment;2) If you want to start at EFI, you need to add the following parameters:-eltorito-alt-boot-bimages/efiboot.img-no-emul-boot3) Specify the disc label with the-v parameter(2)Introduction to genisoimage command parameters-o Specifies the name of the image file. -b Specifies the boot image file that is required to make the bootable disc. -C When making a bootable CD, all the contents of the No-elt
=650; src= http://s3.51cto.com/wyfs02/M01/72/9B/ Wkiom1xolnrhnjrkaajvfzdbkgq915.jpg "title=" 2.png "alt=" Wkiom1xolnrhnjrkaajvfzdbkgq915.jpg "/>Here you can set the boot loader (Grub) hardware device sequencing, according to the menu items, from the top down to find a bootable boot device, if the first time to find a bootable boot, even if the boot program is damaged, unable to boot, will not continue to lo
, you need to add the following parameters:-eltorito-alt-boot -bimages/efiboot.img -no-emul-boot3) Specify the disc label with the-v parameter(2) Introduction to genisoimage command parameters-o Specifies the name of the image file.-b Specifies the boot image file that is required to make the bootable disc.-C when making a bootable CD, all the contents of the No-eltorito-catalog in the boot image
CentOS 6 used in the Bootloader Program for Grub , Init to be Upstart . The approximate flowchart for booting up is as follows:650) this.width=650; "style=" float:left; "src=" http://s3.51cto.com/wyfs02/M01/72/A3/ Wkiom1xpkklcxmiqaacfsvuym98739.jpg "title=" boot flowchart. png "alt=" wkiom1xpkklcxmiqaacfsvuym98739.jpg "/>The step diagram is decomposed as follows:1 , power-on self-test, when powered on, the computer passes BIOS to load CMOS information, obtain the host hardware configuration, and
1:BIOS: boot automatically detects the BIOS (software embedded in hardware) and identifies the first bootable device according to the user's settings2:MBR: read MBR (main bootstrapper partition block) in first sector of first bootable device, boot loader (boot loader) in MBR3:boot loader: load kernel file, start operating systemAdditional Features: 1: Provides menu options, user can choose other boot option
e2fsck-f/dev/sda5 # check whether the ext2 file system is normal and then adjust the partition size, however, make sure that the size of the adjusted partition is greater than the space used by the current partition. For example, if the current partition uses 180 M, you must reserve at least 1 GB of space for the partition. Resize2fs/dev/sda5 5000 M # adjust the partition to 5 Gfdisk/dev/sda # note that sda is not sda5. Re-create the partition information (note that you must select the correct
set a password to start the USB flash drive I do not want to set the password to start the USB drive, but this step can not skip, so there is no way to set a password. When you are finished, be sure to keep your password in mind, otherwise the startup USB drive will not work.Finished production when you have completed the above steps, congratulations, a bootable USB flash drive has come to your side. You don't have to be upset anymore. No optical dri
folder to create an image when creating the ISO.Thanks to the original address provided by linuxaid's netizen ": Http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD-ROM.html
How does grub go to the CD? What is written into MBR?Use ezboot to call the grub production method on the CD!1. Put the "isogrub. bin" file to the "ezboot" directory on the CD.2. Put the "stage2" file in the root directory of the CD.3. Then set grubPr
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.