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 install hard disk with Ubuntu

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces Ubuntu how to achieve hard disk installation, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

1. Download Ubuntu-6.06-alternate-i386.iso Education Network http://ftp.sjtu.edu.cn/Ubuntu-cd/ official http://releases.Ubuntu.com/ and place it in the root directory of a fat32 partition. Ubuntu will automatically search when Ubuntu hard disk is installed. This is a very strange place for Ubuntu hard disk installation-you don't need to specify a path! Fedora is the same path at all. (note: it is useless to download Ubuntu-6.06-desktop-i386.iso, Ubuntu hard disk installation can not be found, I do not know why; although there is a hero's remedy in the jar, but I do not think it is necessary to look far away.) need grub020p.zip to download here, there is no way: http://forum.Ubuntu.org.cn/viewtopic.php?t=19664

2. Download initrd.gz and vmlinuz Education Network http://ftp.sjtu.edu.cn/Ubuntu/dists/...ages/hd-media/ official http://archive.Ubuntu.com/Ubuntu/dis...ages/hd-media/ to save the above three files in the root directory of the fat32 partition (of course * * is the root directory of the same partition as Ubuntu-6.06-alternate-i386.iso) or the root directory of the ext3 or reiserfs partition * do not save it in the ntfs partition.

I saved it in the D root directory of windows, where linux is represented as / dev/hda5 and in grub as (hd0,4).

three. Download grub020p.zip, see attachment (this is different from adsehzq friend's article, I think wingrub is not as good as dos version of grub, and I have written and uploaded the menu.lst of grub with three different vga configurations installed on Ubuntu hard disk, you can copy and paste it at the end of C:\ boot\ grub\ menu.lst, just press enter during installation) and unzip it to C:\, edit the boot.ini file Add or replace with the following code:

[boot loader] timeout=30 default=multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS [operating systems] multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS= "Microsoft Windows XP Professional" / noexecute=optin / fastdetect C:\ grldr= "GRUB For Dos/Windows"

Edit C:\ boot\ grub\ menu.lst to join:

Title Install-Ubuntu 791kernel (hd0,4) / vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall vga=791 initrd (hd0,4) / initrd.gz boot title Install-Ubuntu 792kernel (hd0,4) / vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall vga=792 initrd (hd0,4) / initrd.gz boot title Install-Ubuntu 771kernel (hd0,4) / vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall vga=771 initrd (hd0,4) / initrd.gz boot

There are three ways, so you don't have to write by hand; avoid mistakes and save trouble. Note: you may need to modify (hd0,4) to another way, depending on which partition you put initrd.gz and vmlinuz in, for example: disk C is (hd0,0) After that, every logical disk, whether linux or windows, has to occupy a position, for example, D disk is (hd0,4); E disk is (hd0,5); F disk is (hd0,6); for example, there is actually a linux partition before D disk, but it is not visible under Windows, so the D disk under Windows should actually be pushed back one grid, that is, (hd0,5).

four. Restart the computer, select: GRUB For Dos/Windows

five. Then choose: Install-Ubuntu 771 (this is your choice, there is no way to be sure)

six. Start installation according to installation prompts, set language, keyboard, time zone, network, partition, user name, password, grub, etc.

To be clear, partitioning is a critical step. I don't have a graphical interface like Parition Magic; it's a text interface that allows me to configure and choose. Ubuntu requires us to assign three linxu partitions (which should be divided in advance): two ext3 partitions and one swap partition (one more zone is required than the Fedora installation, although the use is essentially the same). When configuring, * there are at least 2G ext3 partitions, where the mount mount point should be selected as "/" (root root directory). In the second section, I choose "/ home" (where the personal data is placed) according to the 6G root mount point. The third partition is, of course, swap partition, which is generally twice the memory size, such as 512m. At the same time, each partition * * selects formatting. Anyway, it is formatted quickly and does not take much time.

seven. Choose whether or not to install boot Manager (this step I think should be optional) installation. After the installation, you will be asked if you have detected windows xp on your machine. In order to better manage the startup options, please ask whether to install boot Manager. I chose yes, the result boot choice is of course no problem, but there have been two restart menus: * the menu of GRUB asks you to enter WINDOWS or Ubuntu; if you choose to enter windows, then the multiple options of boot.ini are still there, so you have to choose again to enter windows. Of course, after entering windows, you can edit boot.ini and remove the grub option, because it is no longer needed.

There is the choice not to install boot Manager, which I did not try, but according to the article in the jar, it is OK. You should edit the C:\ boot\ grub\ menu.lst file and add the following code:

Title Ubuntu root (hd0,4) kernel / vmlinuz root=/dev/hda5 initrd / initrd.img

eight. Automatic restart (because we just wrote boot at C:\ boot\ grub\ menu.lst, hehe)

If all goes well, everything will be OK! In particular, it is important to point out (and the great thing about Ubuntu) that during the intermediate installation process, the Ubuntu hard drive installation requires a network configuration. I can only surf the Internet wirelessly. Of course, I chose intel wireless, and then I asked to fill in the user name / password of using the network. I was stealing other people's wireless network, and of course it could only be empty. In this way, during the installation process, it can find the one that does not need a user name and password in a bunch of wireless networks, and then go online like this! Shuang just one word ~! Shock is only two words! You know how hard I tried to configure Fedora but I didn't succeed! )

Description of *:

I encountered the classic PAE (Physical Address Extension) problem when I installed OS X. It's no use adding paevm=true code, because intel's i845 intel 855 series doesn't support it, but PAE is not necessary. You can install it with a patch on ISO, but I can't do it at all. If any hero can do this, please send me a text message, no matter when it is not too late, thank you!

Linux and OS X are not installed to taste new, but really want to learn, their architecture is more classic, will not be out of date in the next few decades, unless there is a major theoretical breakthrough in the operating system.

Thank you for reading this article carefully. I hope the article "how to implement hard disk installation of Ubuntu" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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

Servers

Wechat

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

12
Report