LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2006, 11:09 PM   #1
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Rep: Reputation: 15
Dual Booting...


So i want to be able to choose between my harddrive with linux and my SATA drive with windows so I don't have to keep changing the BIOS settings when ever I want into Linux or Windows....How do I do this?
 
Old 03-13-2006, 11:41 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Try adding this:

image=/boot/vmlinuz
label=linux
root=/dev/hda1
read-only

other=/dev/sda1 (you sata might be not sda)
label=windows
 
Old 03-13-2006, 11:45 PM   #3
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
Adding that to where? Just putting it in the console?
 
Old 03-14-2006, 12:02 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
To lilo.conf. Read this, maybe helps: http://www.troubleshooters.com/linux/lilo.htm Don't forget to run lilo (type lilo in the console) after updating and check if you will get any errors.

Last edited by Alien_Hominid; 03-14-2006 at 12:04 AM.
 
Old 03-14-2006, 12:10 AM   #5
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
Thanks I'll try and set it up in the morning
 
Old 03-14-2006, 10:39 AM   #6
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
Ok, it didnt work...

Fatal: open /dev/sda1: No such device or address

I tried it without the one and got the same message...under /dev/ there isnt an SATA drive...
 
Old 03-14-2006, 06:26 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
What are the results of
Code:
fdisk -l
Note that's a lowercase "L"
 
Old 03-14-2006, 07:31 PM   #8
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS

Disk /dev/hda: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 851 6835657 83 Linux
/dev/hda2 852 973 979965 82 Linux swap
/dev/hda3 974 1027 433755 5 Extended
/dev/hda5 974 1027 433723+ c W95 FAT32 (LBA)
 
Old 03-14-2006, 08:01 PM   #9
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
So this is what I added to Lilo...

# Windows bootable partition config begins
image =
root = /dev/sta1
label = Windows
read-only #

When running "lilo" in Console it says nothing about windows or Added Windows * like it does for Linux...What do I put as image...and also, is it normal for Slack to not be able to go onto the HD with this error
mount: unknown filesystem type 'HPFS/NTFS'
Please check that the disk is entered correctly.
This is what I put in fstab
/dev/sda1 /dev/sda1 HPFS/NTFS defaults 1 1
 
Old 03-15-2006, 03:11 PM   #10
Linux_n00b_57
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148

Original Poster
Rep: Reputation: 15
It doesn't work, can someone tell me what i'm doing wrong...
 
Old 03-17-2006, 12:40 PM   #11
SKIPSTER
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Question Dual Boot Problems

I am having problems dual booting using the Online Slackware Book, I get everything installed like i should but when i get to the part of grabbing the first 512 bytes of the linux partition I cannot find /tmp/bootsect.inx. I have looked throughout every folder and file manualy and searched the forums. Found nothing to help even google. My eyes are buggin from my skull and am frustrated its time for me to take a break and wait for a reply

Plz Help,
Skippster
 
Old 03-18-2006, 12:07 PM   #12
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Quote:
Originally Posted by Linux_n00b_57
So this is what I added to Lilo...

# Windows bootable partition config begins
image =
root = /dev/sta1
label = Windows
read-only #

When running "lilo" in Console it says nothing about windows or Added Windows * like it does for Linux...What do I put as image...and also, is it normal for Slack to not be able to go onto the HD with this error
mount: unknown filesystem type 'HPFS/NTFS'
Please check that the disk is entered correctly.
This is what I put in fstab
/dev/sda1 /dev/sda1 HPFS/NTFS defaults 1 1
There are several problems here.

Windows sections in lilo are supposed to look something like:

other = /dev/sda1
label = Windows
table = /dev/sda

Your fstab entry is wrong but LILO doesn't care about that- LILO doesn't use the fstab.

You only need an fstab entry in linux for partitions that you don't need for linux (like windows) if you want to mount them automatically. Do yourself a favor and remove this entry from fstab and fix one problem at a time.
 
Old 03-18-2006, 12:09 PM   #13
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Quote:
Originally Posted by SKIPSTER
I am having problems dual booting using the Online Slackware Book, I get everything installed like i should but when i get to the part of grabbing the first 512 bytes of the linux partition I cannot find /tmp/bootsect.inx. I have looked throughout every folder and file manualy and searched the forums. Found nothing to help even google. My eyes are buggin from my skull and am frustrated its time for me to take a break and wait for a reply

Plz Help,
Skippster
I have no idea what you're talking about but nobody has to do anything with /tmp/bootsect.inx to dual boot.

Just go through the Slackware installation and let liloconfig set up your lilo.conf. If you have a live CD, we can figure out how to change your lilo.conf if necessary (if Slackware and or Windows don't boot).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
dual booting Andros Linux - General 2 02-10-2002 07:33 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:20 PM.

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