Install Linux on the hard disk and start the operating system from the Grub command line. 1. Back up your important data to avoid any problems. Generally, you will distribute a disk in Windows to Linux. My solution is to back up the data to another drive letter.
Linux Grub command to modify the startup background of grub
1. the Linux Grub command converts an image to a 14-color xpm file of 640*480 colors:
# Convert abc.jpg-colors 14-geometry 640*480! Abc. xpm
-Colors 14 Parameter
2. compress the generated xpm file and use gzip # gzip-9 abc. xpm for compression. It is recommended that the image size not exceed 90kb. If grub is large, the interface will not be displayed, and the definition will not work.
3. Copy abc.xpm.gz to/boot/grub and save the source image.
4. Modify/boot/gurb/menu. lst.
Splashimage = (hda0, 0)/boot/gurb/abc.xpm.gz
5. Save the disk and exit
- Grub> root (hd0, N)
- Grub> chainloader + 1
- Grub> boot
- Partitions in Linux under Winodws
- Grub> root (hd0, N)
- Grub> kernel/vmlinuz
- Grub> initrd/initrd-2.4.22-3 Thiz. img
- Grub> the boot kernel is copied to the boot partition)
- 6-10 Linux
- /Dev/hda10
- Cd/boot
- Copy the boot directory to hda10 (cp-r/boot/linux)
- Ln-s/lib/modules/2.4.22-3 Thiz/vm
Modify the Grub file when the Linux grub command is started.
The Linux Grub command modules literally refers to the module
Lsmod (list module): Lists modules that have been transferred to the kernel.
Insmod (insert module): inserts a module into the kernel.
Rmmod (remove module): detaches a module from the kernel.
Init 0: Shutdown
1: Enter a single user
2: multiple users, but no NFS Network File System)
3: multiple users
4: useless
5: graphic interface (X11)
6. Restart