How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 16 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 105,159 times.
Learn more...
Booting an ISO on your hard drive is useful for testing new versions of Ubuntu without using up a CD. It is quicker than using a live USB tool such as UNetBootin or Ubuntu Live USB Creator.
Steps
- Download the bootable disc image from here.
- Install GRUB2 if it is not already installed. Type the following command into the terminal: sudo grub-install --root-directory=/media/grub2 /dev/sda.Advertisement
- Add a menu entry for your Ubuntu ISO. Here are a few examples. Type the following command into the terminal: sudo gedit /etc/grub.d/40_custom and paste these menu entries to the end of the file. Replace /PATH-TO-UBUNTU-ISO/FILENAME.iso with the appropriate path. On my system it would be /home/myUserName/Downloads/lubuntu-natty-i386.iso
=====menuentry "Ubuntu 10.10 Desktop ISO" {
loopback loop /PATH-TO-UBUNTU-ISO/FILENAME.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/PATH-TO-UBUNTU-ISO/FILENAME.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Linux Mint 10 Gnome ISO" {
loopback loop /FILEPATH/linuxmint10.iso
linux (loop)/casper/vmlinuz
file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/FILEPATH/linuxmint10.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
} - Make make the custom menu entries active, run "sudo update-grub"
Community Q&A
- QuestionI have downloaded the ubuntu ISO from the internet. I want to install from a hard drive. How do I do this?PoyoaCommunity AnswerSince you're trying to modify your hard drive, it'd be better to run it from a disc. Use a program (such as Windows Disc Image Burner) to burn the file to a CD, then restart your computer, boot from the CD and go from there to install Ubuntu.
Video
Tips
- If you want to install a new version of Ubuntu, partition your hard drive first. Use GParted or a similar tool. Assuming you are using an Ubuntu CD image, you will only need a 700mb partition to hold the image. If you have a liveUSB or liveCD, that's the easiest way to re-partition because you can't change or shrink a partition while it has your operating system (and re-partitioning tool) currently running on it.Thanks
Warnings
- Installing boot-loaders and operating systems can destroy your data. The same applies when partitioning a hard drive. Make appropriate backups of any files or settings if they are on the hard drive(s) you are working with.Thanks
- You can't format a partition that is currently in use (for the running operating system)Thanks
- Installing GRUB2 will over-write your previous boot loader. So if GRUB2 does not detect your existing operating system, you may have no way to get back into it.Thanks
About This Article
Is this article up to date?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.