LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2012, 09:55 PM   #1
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Rep: Reputation: 21
Make WD 750 Passport botable


I'm running Ubuntu 12.04 w/Gnome and have downloaded Mint13 i386 w/Cinnamon and I'm trying to write the iso as a bootable to be used just like a pendrive. I have found no help... probable my lack w/google. Does anyone know how, Unetbootin won't do it.
 
Old 09-06-2012, 10:44 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,159

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Are you trying to put a bootable iso on a flash drive?
Are you trying to boot the iso file from the hard drive?
You need to clarify what you are actually trying to do.
 
Old 09-06-2012, 11:05 PM   #3
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by yancek View Post
Are you trying to put a bootable iso on a flash drive?
Are you trying to boot the iso file from the hard drive?
You need to clarify what you are actually trying to do.
The WD 750 gig Passport is a usb harddrive and I want to do this with several systems if possible. I'm hoping to use them like a live CD.
 
Old 09-07-2012, 01:40 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,159

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
If you want to put the Linux Mint iso file on another disk and boot it as a Live CD, you will need to create a partition on the disk and format it (ext3 or ext4). You can then just copy the iso file to the / (root) of that partition and put an entry in the Ubuntu grub.cfg file for it. I have this set up but on the same partition as Ubuntu with the following entry:

Quote:
menuentry "Mint Remastered iso" {
loopback loop (hd0,5)/mint12.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/mint12.iso
initrd (loop)/casper/initrd.gz
}
You will need to change the partition number from "(hd0,5)" to whatever is correct for you. You will also need to change "mint12.iso" to whatever the exact iso file name is.
 
Old 09-07-2012, 03:09 PM   #5
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by yancek View Post
If you want to put the Linux Mint iso file on another disk and boot it as a Live CD, you will need to create a partition on the disk and format it (ext3 or ext4). You can then just copy the iso file to the / (root) of that partition and put an entry in the Ubuntu grub.cfg file for it. I have this set up but on the same partition as Ubuntu with the following entry:



You will need to change the partition number from "(hd0,5)" to whatever is correct for you. You will also need to change "mint12.iso" to whatever the exact iso file name is.
Thanks yancek,
In Nautilus under Devices from the top down I see /media/WD Unlocker, /media/passport, /media/NTFS. When I purchased the device it was formated .ntfs and to leave the Western Digital tools in place I left a small ntfs there and reformatted the new partician as .ext4 where my backups are now found. Since the disk is not bootable I believe I'll need to gpart andchange some things.
 
Old 09-07-2012, 08:59 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 10,283

Rep: Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258
I'd put linux partition ahead of the ntfs. Use gparted to move it.

Don't know why you want to boot to an iso. 740 G ought to be left over to 100 different native installs.
 
Old 09-07-2012, 11:02 PM   #7
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by jefro View Post
I'd put linux partition ahead of the ntfs. Use gparted to move it.

Don't know why you want to boot to an iso. 740 G ought to be left over to 100 different native installs.
Actually, as per my OP, I want to turn the iso into a live file just like the live CDs. If I an figure that out it is exactly where I ve been ointed a along.
 
Old 09-07-2012, 11:09 PM   #8
gedexas
LQ Newbie
 
Registered: Sep 2012
Posts: 11

Rep: Reputation: Disabled
To make a USB flash drive or hard drive behave like a live CD you need to extract the contents of the iso into the hard drive and install syslinux/extlinux into the boot sector of the said drive.

Extlinux works with ext2 and syslinux with fat filesystems.

The CD uses a version of syslinux called isolinux, so the same config files should work after renaming them to the appropriate names. You can boot several live CD images from the same USB disk that way, you just need to combine their isolinux.conf files into a single syslinux.cfg.

Last edited by gedexas; 09-07-2012 at 11:14 PM.
 
Old 09-07-2012, 11:26 PM   #9
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by gedexas View Post
To make a USB flash drive or hard drive behave like a live CD you need to extract the contents of the iso into the hard drive and install syslinux/extlinux into the boot sector of the said drive.

Extlinux works with ext2 and syslinux with fat filesystems.

The CD uses a version of syslinux called isolinux, so the same config files should work after renaming them to the appropriate names. You can boot several live CD images from the same USB disk that way, you just need to combine their isolinux.conf files into a single syslinux.cfg.
That I have assumed someone besides myself knew that and asked for a how-to, wouldn t it havebeen really nice if you had done more than to demonstrate that you know why I asked?
 
Old 09-07-2012, 11:36 PM   #10
gedexas
LQ Newbie
 
Registered: Sep 2012
Posts: 11

Rep: Reputation: Disabled
What?

Your statement is a little vague.

Also, the way it's written implies some sort of disappointment due to the lack of a "how-to" that I failed to provide.
 
Old 09-07-2012, 11:49 PM   #11
th1bill
Member
 
Registered: Dec 2007
Posts: 148

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by gedexas View Post
What?

Your statement is a little vague.

Also, the way it's written implies some sort of disappointment due to the lack of a "how-to" that I failed to provide.
yes, that is what I needed in the beginning and I still have the image but nt the OS on the external drive.
 
Old 09-08-2012, 12:16 AM   #12
gedexas
LQ Newbie
 
Registered: Sep 2012
Posts: 11

Rep: Reputation: Disabled
I have not found a howto, so everything I know is through finding it out by searching and playing around, but I can try to help you step by step as you go. I also can not provide any guarantee that it's going to boot.

First, how is that hard drive formatted?

Since it is several hundred gigabytes large, and fat32 has it's limitations on size, you will need to partition that disk. I seem to remember that windows was only capable of formatting a fat32 volume to 32GiB, which will leave you with a good chunk of useless space.

If you want to use fat32 for Windows compatibility, back up all of the important data on that drive and create two partitions (or more if you like), maybe dedicate 4 or 8 GiB to the first partition if it's only going to be used for live CD images. Partition and format the rest of that drive as you please. You could also pick ext2 if compatibility with windows is not important.

After you format the partition, you need to tell me what system (windows or linux) you will use to install syslinux.

If you use linux, download the syslinux package, mount the target partition somewhere (/mnt/hd for example) and run syslinux in that directory. If you use ext2, before installing extlinux, you need to "dd" the mbr.bin that ships with the syslinux package (to the hard drive itself, not the partition).

Then you loop mount the .iso and "cp -a /mnt/iso/* /mnt/hd/".

After the iso is copied to the hard drive, rename the isolinux.cfg to either syslinux.cfg or extlinux.cfg, depending on which one you decide to use and you should be able to boot from that hard drive.

A little word of caution: Some live CD images probe the live CD media to see if it's writeable, if it is, the boot script mounts it with "rw,remount" and puts persistence files on that media. There are some boot parameters you can use on some of those live CD distros to prevent this behavior, but you are rarely warned about that by the boot process. Why is this bad? because you can't power the machine off by unplugging the power cord without corrupting the file system.

Last edited by gedexas; 09-08-2012 at 12:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install printer hp 750 all in one Donnier Linux - Newbie 5 11-01-2010 07:52 PM
Possible to make Western Digital Passport 800g bootable? GuyKnick Linux - Hardware 1 02-25-2007 07:06 AM
New to Linux need advice on down loads and botable disks Michael Newby Linux - General 4 07-01-2006 01:07 PM
psc 750 Spaz17 Linux - Hardware 0 11-28-2003 02:00 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration