LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to boot from an ISO on HDD? (https://www.linuxquestions.org/questions/ubuntu-63/how-to-boot-from-an-iso-on-hdd-732317/)

globz 06-11-2009 06:45 PM

How to boot from an ISO on HDD?
 
Hi guys,

I would like to know in details how to make Hiren's BootCD bootable from one of my partition on my HDD. Currently at work I have Windows XP on the first parition, then Ubuntu on the second and finally I created a partition for Hiren but I don't really know how to make it bootable from the ISO.

It would be very useful for me at work since I use Hiren everyday.

linus72 06-11-2009 06:55 PM

I'm gonna check it out, and will get back
is 9.9 newest?

globz 06-11-2009 07:11 PM

I currently got 9.8 but it doesnt matter I can get the new ISO from the website, not sure if 9.9 is out.

Thanks.

linus72 06-11-2009 07:23 PM

yeah, I just got 9.9. from here
( http://www.kaldata.net/modules.php?m...on=show&id=579 )

how are you booting ubuntu and dindows, with grub?
if so, we'll just edit menu.lst
so , how does it boot?

globz 06-11-2009 07:29 PM

GRUB manage Windows and Ubuntu.

linus72 06-11-2009 07:48 PM

ok, place/move the contents of the iso image to hda3 or wherever you want hbcd-9.9
just right-click iso in ubuntu and choose extract here
In Ubuntu you may have to chown the partition to get permissions
open a terminal in ubuntu and become root
"sudo su"
then mount /dev/hda3
you can use the "places" menu at the top panel to mount the 3rd partition.
so goto places/removable media and click on hda3
once mounted and let's assume your user name is "globz"
"chown -R globz /mnt/hda3" or wherever it's mounted, maybe /media/disk
Now cut/paste or drag n drop hbcd-9.9 contents into hda3

now, in the terminal as root type
gedit /boot/grub/menu.lst
and gedit should pop up with your menu.lst
add this to menu list, don't know if it'll work...

title hiren's bootcd
root (hd0,2)
kernel /HBDC/memdisk initrd=/HBCD/boot.gz root=/dev/hda3
initrd /HBCD/boot.gz

title Start Mini Windows Xp
root (hd0,2)
kernel /HBCD/XP.BIN root=/dev/hda3


title Windows Memory Diagnostic
root (hd0,2)
kernel /HBCD/memdisk initrd=/HBCD/memtest.gz root=/dev/hda3
initrd /HBCD/memtest.gz

globz 06-11-2009 08:15 PM

Thanks a lot mate, I will try this out at work tomorrow, hopefully I will have time!

So when it will boot, will it load up Mini XP or the normal interface in DOS where I can choose to boot MINI XP or go in the utilities?

EDIT--

Also I remember having problem with Root, I couldnt log in even tho I set a password, with sudo passwd root.

Will chown enable my rights to move and copy stuff to the partition?

linus72 06-11-2009 08:40 PM

yes, chowning will give you full access to partition.

don't know abot password
have no idea how it mat boot, you should be able to choose at boot menu
having problem logging in root in what ubuntu?

globz 06-11-2009 08:51 PM

Quote:

Originally Posted by linus72 (Post 3571108)
yes, chowning will give you full access to partition.

don't know abot password
have no idea how it mat boot, you should be able to choose at boot menu
having problem logging in root in what ubuntu?


Well today I tried to put the ISO into the partition cause I kinda knew it would be something like that but I couldn't move it there, so I tried to log in as root in Ubuntu 8.04 LTS but I couldnt, at the login screen it says Administrator cannot log in from this window or something like that. It might be disable somehow for security purpose...


I went in the terminal did sudu passwd root then closed the current session and tried to log in as root and it didnt worked.

linus72 06-11-2009 08:55 PM

naw, dog, in Ubuntu you don't really need to login as root
login as user, then open a terminal from menu and issue "sudo su"
is it your pc or what?
do you know root password?

globz 06-11-2009 08:59 PM

Yeah its my PC for the job, well its fine I will use sudo its not a big deal.

And yes I know the password, with sudo passwd root you have to set a password for root.

So tomorrow I will chown the partition and it should work, I will transfert the iso and follow your steps. I will get back to you, this week-end or next week!

Thanks a lot bro.

linus72 06-11-2009 09:10 PM

check it out, it uses memdisk to boot it seems, so read up on it as it's part of the syslinux download
( http://syslinux.zytor.com/wiki/index.php/MEMDISK )
also, syslinux download
( http://www.kernel.org/pub/linux/utils/boot/syslinux/ )
also, check out ultimatebootcd
( http://www.ultimatebootcd.com/forums...pic.php?t=1814 )
use the http links not the 1st one, it's torrent
ubcd makes heavy use of the memdisk gadget
and has alot of stuff like hirens
I have ubcd as part of some of my stuff

UltimateLinuxToolKit-USB
Has-
UltimateBootCD-50b12
SystemRescueCD-1.1.7
RIPLinux-8.2
INSERT-1.3.9
PMagicLive
NetbootCD-3.0
ZorOS-3.4
PlopBootManager
SuperGrubDisk
NT-Password
and Tinycore-1.4!
( http://multidistro.com/downloads/und.../under1gb.html )

and an iso too

ISO's
This section is for multidistro cd's(which easily convert to usb)

IMSHLD(Immutable_Shield)
It's got...
1-UltimateBootCD-50b12
2-ClamAV LiveCD
3-AviraAV LiveCD
4-Mpentoo-2006.1
5-GRML-Medium-2008
6-ttylinux-8.0
7-PlopLinux-3.7.19
8-SuperGrubDisk
9-NT-Password
10-Memtest86+

( http://multidistro.com/downloads/isos/isos.html )
so. have fun.

DragonSlayer48DX 06-11-2009 09:12 PM

FWIW- Ubuntu makes you jump through a couple extra hoops to log in as root. You'll find it in System->Administration->Login Window->Security. But as Linus72 said, as long as you have sudoers permissions, just enter "sudo su" before a terminal session, or "sudo" before a terminal command.

Cheers

globz 06-11-2009 09:13 PM

wow this shit is nice :P I will check this out! Thanks!

Edit: Thanks Dragon!

linus72 06-11-2009 09:23 PM

no doubt
Crack for Linux Addicts!:)


All times are GMT -5. The time now is 10:12 AM.