Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-13-2006, 11:09 PM
|
#1
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Rep:
|
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?
|
|
|
03-13-2006, 11:41 PM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Try adding this:
image=/boot/vmlinuz
label=linux
root=/dev/hda1
read-only
other=/dev/sda1 (you sata might be not sda)
label=windows
|
|
|
03-13-2006, 11:45 PM
|
#3
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
Adding that to where? Just putting it in the console?
|
|
|
03-14-2006, 12:02 AM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
03-14-2006, 12:10 AM
|
#5
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
Thanks I'll try and set it up in the morning
|
|
|
03-14-2006, 10:39 AM
|
#6
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
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...
|
|
|
03-14-2006, 06:26 PM
|
#7
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
What are the results of
Note that's a lowercase "L"
|
|
|
03-14-2006, 07:31 PM
|
#8
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
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)
|
|
|
03-14-2006, 08:01 PM
|
#9
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
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
|
|
|
03-15-2006, 03:11 PM
|
#10
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Slackware 11.0
Posts: 148
Original Poster
Rep:
|
It doesn't work, can someone tell me what i'm doing wrong...
|
|
|
03-17-2006, 12:40 PM
|
#11
|
LQ Newbie
Registered: Mar 2006
Posts: 1
Rep:
|
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
|
|
|
03-18-2006, 12:07 PM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
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.
|
|
|
03-18-2006, 12:09 PM
|
#13
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 11:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|