LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-16-2010, 02:24 AM   #1
MajorTom05
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Booting from an .iso on a separate partition?


Hello guise, I have an .iso file that is Backtrack v4, and I do not have any cds/dvds lying around so I figured, "Ah what the hell." So I created a new partition based off of the main boot partition C: drive, and installed the .iso file. Thing is, I'm not very savvy as far as disk management/partitioning goes, and perhaps what I am doing is pure stupidity, but eh. My problem is, I have the partition (logical,drive t)
But its not the main boot partition, and I would love to be able to change from windows seven to backtrack and back. Help appreciated
 
Old 07-16-2010, 03:23 AM   #2
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63
Blog Entries: 1

Rep: Reputation: 12
Ok; I'm a tech, just not a Linux one. So best I can do is do a little googling and point you to where the answers will most likely be :-)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Found these Instructions ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Live install, dual boot from grub
This is another method to create a live install of BackTrack 3 on your HD. The need for this was that an install of BT was required for a machine with only 4gb of disk space and that it also needed to be dual booted with another linux distro from grub. This is a very simple live install with no persistancy. it has been done on an eeepc.
1. Create partition for backtrack (750mb) 2. Copy CONTENTS of iso to said partition 3. Edit your grub bootloader 4. Boot
So here goes...
1. create a partition for the BT iso (750mb will do). 2. grab a copy of the iso from download section. 2. mount the iso somewhere i.e.
mount -t iso9660 -o loop,ro /path/to/theiso.iso /mnt/iso
3. mount the partition you want BT upon. i.e.
mount /dev/hdX /mnt/bt
replacing /dev/hdX with the name of the disk and partition you are installing to (i.e. hda2 (first hdd, second partition)
4. copy the contents of the iso to the new partition. i.e.
cp -r /mnt/iso /mnt/bt
5. edit grub /boot/grub/menu.lst
Add this:
title BackTrack
root (hd0,1)
kernel /boot/vmlinuz max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1
prompt_ramdisk=0 ramdisk_size=6666 root=/dev/ram0 rw
initrd /boot/initrd.gz
boot
Obviously replacing root hd(0,1) with the partition number the kernel is on and changing the path of 'boot/vmlinuz' to point to the kernel.
6. If you want a directory that will save your changes and merge them with the live install to create the illusion of a 'real' install (the best way if you ask me) then:
a) Create another partition formated to ext2/3
b) create a directory on this partition called 'changes'
c) add to grub conf (above) at the end of the kernel line:changes=/dev/sdx rw
Where sdx is the name of the disk/partition you wish to use.

~~~~~~~~~~~~~~~~~~~~~~~~~
~ Additional Resources ~
~~~~~~~~~~~~~~~~~~~~~~~~~

Boot Back Track 4 pre final on HDD (without install)
How to make Backtrack 4 boot from USB
How to make Backtrack 4 persistent installation
 
Old 07-16-2010, 08:17 PM   #3
MajorTom05
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Soo..About this grub loader..anyway to install this with windows 7 without a bootup disk?
 
Old 07-17-2010, 08:49 AM   #4
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63
Blog Entries: 1

Rep: Reputation: 12
Quote:
Originally Posted by MajorTom05 View Post
Soo..About this grub loader..anyway to install this with windows 7 without a bootup disk?
That's going to depend on everything from experience to preference. I recently spent many hours trying to find the easiest way to install an OS on a USB stick.

I imagine that getting a Linux OS on a USB stick might be a useful tool which will give you a lot of options that you don't have because you don't have a CD drive. You will most likely (like myself) have to spend a few hours trying different options until you get the one that works right for you.

You can save some time because I'm going to point you to some resources that I didn't have in the beginning of all of my work.

Universal USB Installer

Like I'm getting at above, the arguments for which Linux distro to put on a USB drive are debatable. I think from various perspective that the arguments are strongest for Puppy, Ubuntu, and Knoppix; not necessarily in that order.

Once you get a bootable OS on a USB drive then you have more options available to you like adding a grub boot loader to your system.

So much more I could say here but I'll let your questions guide what advice I might give you next.

~~~~~~~~~~~~~~~~~~~~
~ Note to the Wise ~
~~~~~~~~~~~~~~~~~~~~

Always back up your machine to an external disk before trying any serious techy tricks like creating dual boot systems, partitioning your drive, etc :-)
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Booting Debian ISO with grub2 and a separate Kernel deepclutch Linux - General 4 05-23-2010 05:30 AM
[SOLVED] Creating and booting from a separate /boot partition eldiener Linux - General 5 11-12-2006 06:13 PM
Dual Booting, 2 separate hard drives Jotun Linux - Newbie 6 04-30-2004 12:18 PM
Booting from a Separate Hard Drive sneakers Linux - Laptop and Netbook 7 10-29-2003 12:13 PM
Dual-booting with two separate hard drives leeman_s Linux - General 3 01-22-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration