LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-18-2011, 05:33 AM   #1
Hamerins
LQ Newbie
 
Registered: May 2011
Distribution: Backtrack 5 R1, Fedora 16 Security Spin, Archlinux
Posts: 25

Rep: Reputation: 0
Need Help in Partitioning for Slackware installation


Hi all,


I have tried to install slackware 13.37 on my laptop but it is not taking the partitions. I am planning to install it on a dual boot along with my windows 7


The partition table will be some what like this

/dev/sda1 windows 7 default system partition
/dev/sda2 My c: drive
/dev/sda3 My D: drive

the rest is all empty space

i created an extended partition on the remaining space. in the extended partition i creared a / and a swap partition but the setup is not detecting the swap partition


Thanks in advance
Hamerins
 
Old 05-18-2011, 05:41 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
mkswap /dev/sdax
swapon /dev/sdax

x - the number of your swap partition

Afterwards, you might need to update your /etc/fstab file.
 
Old 05-18-2011, 05:49 AM   #3
Hamerins
LQ Newbie
 
Registered: May 2011
Distribution: Backtrack 5 R1, Fedora 16 Security Spin, Archlinux
Posts: 25

Original Poster
Rep: Reputation: 0
I forgot to tell on thing the setup is not detecting both the swap and / partitions. when we select add swap it shows a message that there is no swap partition created do you want to create it first. As for the / it shows that there is no root partition do you want to create it on /dev/sda5

Actually the partition for / is /dev/sda5p1 and for swap is /dev/sda5p2
 
Old 05-18-2011, 06:25 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I guess you fdisked a partition, not the disk probably using fdisk /dev/sda5 instead of fdisk /dev/sda

I've seen this (sda5p1 and sda5p2) once before where I did it wrong as well.
 
Old 05-18-2011, 07:32 AM   #5
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
If you have windows 7 on your laptop, you must
be aware that it takes up the entire disk.
There should be already 2 partitions.
One (the big one) is where the system is installed.
The second (a small one) is a recovery system partition.

The first thing you should (have) do(ne) is to make some
room on your disk to create new partitions for your linux
system.

The easiest way to do this is by using gparted from a live linux system.
I suggest you try Parted Magic
(http://partedmagic.com/doku.php)
Download the iso file and either
burn the iso to a cd-rom
(It is also possible to install to a usb stick)

Basically you need to resize the main partition, then
move the smaller partition next to it.
Once you have done that (and saved the changes) you need
to reboot in windows so that it will launch a check disk.

Next you boot from a linux system and use fdisk to create
new partitions (/dev/sda3, /dev/sda4) for your linux system
and a swap partition.
 
Old 05-18-2011, 09:35 AM   #6
Hamerins
LQ Newbie
 
Registered: May 2011
Distribution: Backtrack 5 R1, Fedora 16 Security Spin, Archlinux
Posts: 25

Original Poster
Rep: Reputation: 0
Unhappy

I have pasted the fdisk -l output here. i have a 100gb partition left to install slackware but i am not able to partition it using cfdisk or fdisk.
The partition which i created is not even detected by the slackware installation

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units =

sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes /

512 bytes
Disk identifier: 0x3f5c0994


Device Boot Start End Blocks Id System

/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT

/dev/sda2 206848 137994239 68893696 7 HPFS/NTFS/exFAT

/dev/sda3 137994240 767139839 314572800 7 HPFS/NTFS/exFAT
 
Old 05-18-2011, 09:51 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
I have pasted the fdisk -l output here. i have a 100gb partition left to install slackware but i am not able to partition it using cfdisk or fdisk.
The partition which i created is not even detected by the slackware installation
Do you get any errors when you try to create it in fdisk/cfdisk? Perhaps you've not written the changes, ie the partition has not been created at all. Mind you, you already have 3 primary partitions. The next one should be of the "extended" type to let you create more partitions and should take up all the remaining space. If you have problems with fdisk, you could use a live cd which contains gparted, which is a simple GUI partitioning tool.
 
Old 05-19-2011, 12:17 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by Hamerins View Post
The partition which i created is not even detected by the slackware installation
If the above is true (and from your fdisk output it is), how do you know the below?
Quote:
Originally Posted by Hamerins View Post
Actually the partition for / is /dev/sda5p1 and for swap is /dev/sda5p2
As I said before, I'm quite sure you fdisked a partition instead of a disk. Which tool did you use for the partitioning (Windows fdisk, Windows disk manager, Linux fdisk, ...)? Can you give the steps that you did?

And I would not worry; from your fdisk output it looks like you can simply create the extended partition again. Once you have that, fdisk will automatically create the logical partitions in there when you create new partitions. Basically what sycamorex states.

What does windows disk manager say about it? You can create the partitions in there as well; to save time, don't format them because the slackware install will do so as well.

Last edited by Wim Sturkenboom; 05-19-2011 at 12:26 AM.
 
Old 05-19-2011, 12:02 PM   #9
Hamerins
LQ Newbie
 
Registered: May 2011
Distribution: Backtrack 5 R1, Fedora 16 Security Spin, Archlinux
Posts: 25

Original Poster
Rep: Reputation: 0
Smile

I googled a bit and found that cfdisk have less support to partition extended logical drives. So i turned Back to My Favorite partitioning tool FDISK and Created the partition. Also i installed it successfully.
 
  


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
Dual Booting Slackware, best Slackware based Distro, and Partitioning...? Novatian Slackware 6 06-07-2010 08:09 PM
Help on Installation / Partitioning grandmarkai Linux - Newbie 2 02-19-2006 08:33 PM
Slackware installation: partitioning (help!) maxmax Slackware - Installation 2 09-26-2005 06:29 PM
Partitioning for installation trotsky Linux - Newbie 6 12-24-2004 04:54 AM
Partitioning after installation stingerbee Linux - Software 10 08-04-2004 06:55 PM

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

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