Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
I am trying to install Slackware 11, I have partitioned my harddrive so that there is a 512mb swap and the rest is for /.
I am dual booting, I already have WINDOWS XP PRO installed.
The problem is when I try to enter the setup it is entering the setup under /dev/sda3...when my linux partitions are /dev/sda7. So it wont recognize that I have linux partitions. When I do:
fdisk -l I get:
?
Then it would be oviuos for us what You have at the layout...
What kind of 'setup' are you writing about?
Did you mean the slacks boot-loader or the root partition (holding /boot/*)
Why is this confusing you?
Where did you install the boot-loader : MBR, root-partition, floppy ?
What is you bootable partition:
it seems to be sda3
This is where your bootloader belongs to...
What it your system-holding partition (the /), it seems to be sda7
That's where your kernel image resides and waits to be booted...
I prefer to put lilo on MBR and use:
Code:
hda1 * win9x
hda2 ext'd
hda5 winXP
hda6 media
hda7 linux-root
hda8 swap
hda9 home
and install boot-loadera allways to MBR so it does not matther what partition is active, except for wins, but bootloader makes them active diring boot...
Last edited by SCerovec; 10-27-2006 at 02:59 AM.
Reason: code tags
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
sda7 is a logical partition where as what you need to install Slackware is a primary partition.
So make either of sda1,2,3,4 a EXT2 partition with fdisk.
Then Install
CAUTION FDISK can cause lots of pain you know where
better do following in console if you are unsure.
%>fdisk /dev/sda
I am trying to install Slackware 11, I have partitioned my harddrive so that there is a 512mb swap and the rest is for /.
I am dual booting, I already have WINDOWS XP PRO installed.
The problem is when I try to enter the setup it is entering the setup under /dev/sda3...when my linux partitions are /dev/sda7. So it wont recognize that I have linux partitions. When I do:
fdisk -l I get:
The correct output for my ide device from 'fdisk -l'
Code:
fdisk -l
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 499 4008186 c W95 FAT32 (LBA)
/dev/hda2 500 561 498015 82 Linux swap
/dev/hda3 562 811 2008125 83 Linux
/dev/hda4 812 4864 32555722+ 5 Extended
/dev/hda5 812 1061 2008093+ 83 Linux
/dev/hda6 1062 1438 3028221 83 Linux
/dev/hda7 1439 1563 1004031 83 Linux
/dev/hda8 1564 2062 4008186 83 Linux
Your output seems edited for /dev/sda. To assist you, the posted data should not be edited. Even though the above output is for my /dev/hda, anyone can see how the partitions are layed out.
You don't have to have the partition marked as boot(active) for lilo to load your image. If your root is on /dev/sda7 then use the install cd1 to boot;
Code:
<kernel> root=/dev/sda7 noinitrd ro #<kernel> could be sata.i
You should read 'How to Ask Questions the Smart Way' to now how and what to ask in order to get a response. When presenting a problem or question to a forum, you need to provide relevant information, i.e; kernel, system hardware, etc.
The etc. is a big one! This could include configuration files, outputs from commands, relevant error messages ...
OK sorry it has takin so long for me to respond, heres what I have
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1 7528+ 7 HPFS/NTFS
/dev/sda2 2 6841 51710400 f W95 Ext'd (LBA)
/dev/sda3 * 6842 7753 6894720 7 HPFS/NTFS
/dev/sda5 2 4064 30716248+ 7 HPFS/NTFS
/dev/sda6 4065 4133 521608+ e W95 FAT16 (LBA)
/dev/sda7 4134 4841 20472448+ e W95 FAT16 (LBA)
BUT I already did the following:
cfdisk /dev/sda7
made 2 partitions both primary one a linux swap(82) and one Linux(83), then made the Linux partition bootable.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Quote:
Originally Posted by OtisLinux
OK sorry it has takin so long for me to respond, heres what I have
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1 7528+ 7 HPFS/NTFS
/dev/sda2 2 6841 51710400 f W95 Ext'd (LBA)
/dev/sda3 * 6842 7753 6894720 7 HPFS/NTFS
/dev/sda5 2 4064 30716248+ 7 HPFS/NTFS
/dev/sda6 4065 4133 521608+ e W95 FAT16 (LBA)
/dev/sda7 4134 4841 20472448+ e W95 FAT16 (LBA)
BUT I already did the following:
cfdisk /dev/sda7
made 2 partitions both primary one a linux swap(82) and one Linux(83), then made the Linux partition bootable.
I cannot say exactly what you did, but something has gone wrong. First, none of the partitions is marked as "Linux" or "Linux swap". You wrote you did "cfdisk /dev/sda7" -- you can't do that with a single partition. cfdisk is invoked with a harddisk as parameter, not a partition, so "cfdisk /dev/sda" would be the right one.
Contrary to duryodhan I don't think you need a primary partition for Slackware.
Start "cfdisk /dev/sda" (if sda is right). It sounds like the /dev/sda7 partition can be deleted? If you're sure, mark it in cfdisk, move with the arrow keys to "Delete" and type Return. Mark the free space shown at the bottom of the partitions list, choose "New" or "Create" (sorry, I have the German locale running, one of them shoudl be shown). Type in its size, then your Linux partition should be created. Do that again, move to free space ... after creating the second one move with arrow keys to "Type". Type once return if you get the list of partition types that are available. Here "82" for Linux swap is selected and I just have to type Return. Else type 82 in yourself. After that your output should read something like (* can mean anything)
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1 7528+ 7 HPFS/NTFS
/dev/sda2 2 6841 51710400 f W95 Ext'd (LBA)
/dev/sda3 * 6842 7753 6894720 7 HPFS/NTFS
/dev/sda5 2 4064 30716248+ 7 HPFS/NTFS
/dev/sda6 4065 4133 521608+ e W95 FAT16 (LBA)
/dev/sda7 4134 **** 18472448+ 83 Linux
/dev/sda8 **** **** 489951 82 Linux Swap
Make sure /dev/sda7 can safely be deleted before you do the above steps.
Last edited by titopoquito; 10-29-2006 at 03:56 AM.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Quote:
Originally Posted by OtisLinux
OK sorry it has takin so long for me to respond, heres what I have
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1 7528+ 7 HPFS/NTFS
/dev/sda2 2 6841 51710400 f W95 Ext'd (LBA)
/dev/sda3 * 6842 7753 6894720 7 HPFS/NTFS
/dev/sda5 2 4064 30716248+ 7 HPFS/NTFS
/dev/sda6 4065 4133 521608+ e W95 FAT16 (LBA)
/dev/sda7 4134 4841 20472448+ e W95 FAT16 (LBA)
BUT I already did the following:
cfdisk /dev/sda7
made 2 partitions both primary one a linux swap(82) and one Linux(83), then made the Linux partition bootable.
Your sda7 doesn't end at the right place I guess you have made a partition there. Basically I think you have really screwed things up.
I think you were trying to use sda3. But it is still NTFS.. do
%fdisk /dev/sda
and then change id of partition number 3 to EXT2
Also create a new extended partition from 4842 to 6841 as swap.
Write everything and Now run setup it should auto detect.
Note : I am assuming you dont have imp data on those partitions. You will lose ALL data so better backup.
I am just following what THE book says. If that isn't true.. why does the book say so?
Dont get me wrong , I am just a noob trying to learn.
No offense intended. I had Slack 10.2 installed on a logical partition and had never any problems with that setup. Don't know why the book states so or under which circumstances that might be true.
I have two partitions already, 1 with Windows XP backup, and the meat of my memory allocated to XP Pro that is already installed. I don't want to have to wipe everything. The /dev/sda3 I believe is the XP backup...The /dev/sda5 is my main XP pro partition.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
You don't have to wipe everything but must identify which ones you can safely delete. From your fdisk output I guess that you may have intended sda6 as swap space and sda7 as linux partition? Only you can tell which ones you created, but the FAT16 type seems to make no sense if you have Windows XP installed. AFAIK it doesn't even give you the choice to create FAT32 partitions anymore.
If you remember which partitions you intended for Linux, just fire up cfdisk and change the types (83 for Linux, 82 for Linux swap).
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Quote:
Originally Posted by OtisLinux
Yeah thats the wierd part, I'll fire up cfdisk /dev/sda7 and its broken down into 2 partitions LINUX and LINUX SWAP
No, not "cfdisk /dev/sda7", that won't work but break things. If you are sure this can be deleted start "cfdisk /dev/sda" and do it , then create two new ones.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.