LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2006, 11:15 AM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
Dual OS install


Hi,

I am trying to install xp and backtrack which is a live linux cd with an option to install on the HD
I took a HD which is 150 giga. I formated in NTFS the first 140 Giga and install xp. I left the last 10 giga for back track.

After i installed xp i booted with backtrack cd and tried to install according to the manual install so I started with this command:
cp --preserve -R /{bin,dev,etc,home,lib,root,sbin,usr,var,opt,pentest} /mnt/hda1

but hda1 and hda2 are the windows partition so how I tell the program to use the nonpartitionad space for this install?

Do I need to format it in a linux form or something?

Thanks,

Juan
 
Old 02-14-2006, 11:29 AM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I think there is an installer inside Back Track nearly identical to the Slax-installer. I certainly did not go through your steps to manually install it command by command.

The best way is to partition the last partition using cfdisk program (in Bash shell) of Back Track and then activate its installer. No need to format as Slax-installer will not trust you and always format it again.

Back Track is co-written by Whax author I think. It is part of the Slax family including Slax, Whax, Klax and Slampp.

Pretty good performers originated from Slackware. They more modern than Slackware (automatic Sata support, able to cope with large disks and high-number partitons) and mightly quick to install, to load and to run too. It should be installed in about 10 minutes.
 
Old 02-14-2006, 02:39 PM   #3
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
okey I used cfdisk and created hda3 which has no flags is primery and the fs type is linux there isnt any label on this partition.

I tried to install back orfice but the system didnt recognized this partition.did i do something wrong or maybe I need to mount it some how?

Please help!

Thanks,

Juan
 
Old 02-14-2006, 03:11 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Try this

When you are in Back Track, make a temporary directory in /mnt, format hda3, mount hda on the temporary directory
Code:
mkdir /mnt/hda3
mke2fs -j /dev/hda3
mount /dev/hda3 /mnt/hda3
then you click the bottom left icon/system/Backtrack installer and there you should find hda3.
 
Old 02-14-2006, 04:20 PM   #5
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
Okey I did what you told me and now the machine boots directly to backtrack.

what I need to do so I can see both the Os's and be able to choose one of them?

Maybe to install a boot loader or a third party application?

Thanks,

Juan
 
Old 02-14-2006, 05:43 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Don't be silly. Just use Lilo from BackTrack.

Edit its /etc/lilo.conf to look like as follow
Code:
boot = /dev/hda
prompt
#timeout = 10
bitmap=/boot/splash.bmp
#change-rules
#reset
vga = normal
image = /boot/vmlinuz
  root = current
  label = slax
  read-write

other=/dev/hda1
label=Windows
Pay attention to the red bits
 
Old 02-15-2006, 02:25 PM   #7
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
Hi I made the changes and now my /etc/lilo.conf lookes like this:
boot = /dev/hda
prompt
#timeout = 20
bitmap=/boot/splash.bmp
#change-rules
#reset
vga = normal
image = /boot/vmlinuz
root = current
label = slax
read-write

other=/dev/hda1
label=Windows

after rebooting I didnt get an option to choose from OS's.

what is wrong?

Thanks very much,

Juan
 
Old 02-15-2006, 03:17 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If you use Lilo as the boot loader you must re-validate Lilo every time you alter its Lilo.conf. Just do in root and type
Code:
lilo
Lilo should then show slax added and Windows added, signifying it is happy with it. If it isn't happy with it will tell you what problem it has got.

Linux boot loaders are very friendly if you strike a relationship with them.

Last edited by saikee; 02-15-2006 at 03:18 PM.
 
Old 02-16-2006, 01:48 PM   #9
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
okey... I followed this guide but stilll....

http://forums.remote-exploit.org/showthread.php?t=84

I started from step 2 and this is my /etc/lilo.conf file:


# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = tmpfs
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
label = backtrack
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = cirrent
label = Linux
read-write
# Linux bootable partition config ends
~
after saving and issueing lilo command I got this error:

root@slax:~# lilo

Fatal: raid_setup: stat("tmpfs")


What is wrong?


Thanks,

Juan
 
Old 02-16-2006, 03:10 PM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
It is a waste of my time to look into an unbootable lilo.conf you chose to follow while igoring the workable version I gave you directly from a booted up BackTrack. I am only interested to help others to get over a few booting problems quickly but really haven't got time to explain a problem originated from a 3rd party.

What I can offer you in term of information are

(1) Backtrack can be installed in two modes (a) Live mode like a CD requiring 800Mb and (b) Real mode requiring 2550Mb. You could be following a Live CD mode if you have boot = tmpfs to start with.

(2) In the booted up BackTrack as a Live CD if you click the lower bottom left corner KDE icon you will find "Back Track Installer" inside the "system" tap.

You can use it to install BackTrack. My version Back Track 2006-2 certainly has it. It is identical to the SLax-installer in every respect.

Last edited by saikee; 02-16-2006 at 03:24 PM.
 
Old 02-16-2006, 04:21 PM   #11
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
I had to go to find more answers in other places cause the solution ou didnt help but I really am thankful of your help!!!
I istalled the Real mode backtrack and I dont know what to do next. I am afraid of rebooting ythe system cause Im not sure that it will even reboot now beacuse of the bad lilo configuration.
are you suggestion to reinstall backtrack?

Thanks !
 
Old 02-16-2006, 04:28 PM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Sorry I misunderstand you.

If you want to edit lilo.conf just use use the nano editor in command prompt
Code:
nano /etc/lilo.conf
The editing instructions are showned at the the nano screen.

Remember my Post #8 to revalidate Lilo every time you change lilo.conf. There is no risk in messing around with lilo.conf because Lilo will not implement one that doesn't work for you and sticks with the older workable version.

You can get back you Linux and Windows any time you want using BackTrack installation CD.

Read Task B of my last link in the signature on how to use it. It is classified as a Linux Live CD in my definition.

Last edited by saikee; 02-16-2006 at 04:37 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with dual install scripttron75 Linux - Software 4 06-29-2005 01:02 AM
Dual boot install help! ajbrouwe Slackware 1 07-10-2004 07:51 AM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 02:38 AM
Which OS to install first on Dual Boot install? merfmeister Linux - Newbie 1 05-17-2004 03:12 PM
dual boot install help wass29 Slackware 4 03-10-2003 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:46 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