LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 02-27-2010, 06:53 PM   #1
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Rep: Reputation: 16
Smile Partition Question: I have Ubuntu/Vista (grub), adding Slack


So Guys, Im new to Slackware and Linux (just downloaded Slackware 13.0 64bit to DVD). Equipment: I have a Dell INSP 1545. 160GB HD, 3GB RAM, 2.16GHZ
OSsual boot Vista and Ubuntu 9.10 with GRUB. According to Linux my partitions are as follows: 160GB HD Toshiba /dev/sda
Dell Utility 41 MB FAT 16bit /dev/sda1
Recovery 16 GB NTFS /dev/sda2
OS 102 GB NTFS /dev/sda3

42GB Extended /dev/sda4
41 GB File System Linux ext4 /dev/sda5
1.8 GB Swap Space /dev/sda6

Can you all recommend how to (easiest for a Noob) add room for Slack? Im open to simply replacing Ubuntu, but would prefer to triple boot. Please keep in mind im new to computing. Thanks! Really excited about learning.
 
Old 02-27-2010, 07:44 PM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,502

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
To be honest, I don't think you've got enough wiggle room to work with here.

Your dell recovery stuff and vista take up 3 primary partitions, so even if you managed to successfully shrink vista (which is fraught with dangers - I ended up having to reinstall when I did mine as the vista disk tools refused to shrink it correctly), you still wouldn't be able to create a new primary partition in the space.

I'd suggest trying to shrink your ubuntu partition down to about 20GB using something like gparted and create a new linux logical partition in the space it makes. ( Well, actually that's not true, I'd actually suggest getting rid of Ubuntu completely and giving the whole 40GB to slackware, but you did say you wanted to keep it, so a 20/20GB split seems like a reasonable option. )


A word of caution though. Disk repartitioning is probably the most risky thing you can do. One small slip and you could lose the lot. Be very, very careful.
 
1 members found this post helpful.
Old 02-27-2010, 07:46 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Take space from Vista or Ubuntu. It looks like you have a single partition for each so either use a tool inside of Vista or boot with the Ubuntu live cd and use gparted (partition editor) to resize the partitons. Depending on how you are actually using the partitons I would take space form the partitons with the most room because 160GB isn't a lot of space for 3 OS's on a working system unless you have minimal storage requirements. A full install of Slackware is going to use about 6Gb (If I remember correctly).

There are some good free (as in beer) partition editors for Windows. I used partition wizard when I came over from windows. It was full featured and recommended above partition magic which I'd always used. It's available from download.com. But as stated above it's always a little risky.

Last edited by damgar; 02-27-2010 at 07:52 PM.
 
Old 02-27-2010, 08:15 PM   #4
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Arrow Replacing Ubuntu then....

Quote:
Originally Posted by GazL View Post
( Well, actually that's not true, I'd actually suggest getting rid of Ubuntu completely and giving the whole 40GB to slackware, but you did say you wanted to keep it, so a 20/20GB split seems like a reasonable option.
then...lets suppose I want to replace Ubuntu, with Slackware. How would I go forward. I am fine with loosing everything on Ubuntu.
 
Old 02-27-2010, 08:47 PM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
nevermind
 
Old 02-28-2010, 08:04 AM   #6
GazL
Senior Member
 
Registered: May 2008
Posts: 3,502

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
Originally Posted by Ubunoob001 View Post
then...lets suppose I want to replace Ubuntu, with Slackware. How would I go forward. I am fine with loosing everything on Ubuntu.
There's nothing unusual about what you're wanting to do so it's just a matter of following the Slackware install instructions. The only difference is that you can skip the partitioning section as you are going to reuse the ubuntu partitions that have already been setup.

One good way to learn about installing slackware is to install virtualbox on your windows system and run through a few slackware installs in a virtual machine. This will allow you to cock-up as much as you like while you learn the ins and outs of slackware without risk. Then you can do the real install once you feel comfortable that you know what you're doing.
 
1 members found this post helpful.
Old 02-28-2010, 12:07 PM   #7
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Smile Replacing Ubuntu WIth Slack: Partition Question.

Quote:
Originally Posted by GazL View Post
... it's just a matter of following the Slackware install instructions. The only difference is that you can skip the partitioning section as you are going to reuse the ubuntu partitions that have already been setup...

One good way to learn about installing slackware is to install virtualbox on your windows system and run through a few slackware installs in a virtual machine.
Thanks GazL. Two follow-up questions(each with a couple subparts):

1. So, while I wont partition anything then:
(a) I simply need to know the device and partition name in order to send Slackware there right? Assuming as in my first post: 42GB Extended /dev/sda4
41 GB File System Linux ext4 /dev/sda5
1.8 GB Swap Space /dev/sda6
(b)I would then just send Slackware to /dev/sda5? or would it be /sda4?
(c)the 1.8 swap seems too small since I have 3GB RAM, how would I expand or create new swap?


2. Thanks for the recommendation on Virtual Box, just downloaded it. One quick question: When in VB, and I 'install' slack, will it ask where to send it(partition-wise)? how does this apply when using a virtual machine/memory from within Vista?

Thanks in advance guys!
 
Old 02-28-2010, 04:21 PM   #8
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
The virtualbox step is really overkill. And probabaly more complicated.

Installing slackware is really very easy if you aren't going to be partitioning. Once you have started setup, there is a clearly defined menu 1 2 3 4 you can start with the swap part, and it will auto detect your current swap partition. Following the prompts will then bring you to setting the target and again it is going to know about sda5 rather than 4 as the partition to install to. If you are going the single partition route (excluding swap) then you will just select "done addining partitions/continue" It's still menu driven and graphical, just not a polished gui like ubuntu or windows. Don't be nervous, JUST BE CAUTIOUS WHEN SELECTING YOUR TARGET PARTITION and it's going to breeze by.
 
1 members found this post helpful.
Old 02-28-2010, 05:26 PM   #9
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Smile Last question ! haha ...Is my SWAP big enough? Current SWAP: 1.6GB, RAM:3GB

Quote:
Originally Posted by damgar View Post
...and it will auto detect your current swap partition. Following the prompts will then bring you to setting the target and again it is going to know about sda5 rather than 4 as the partition to install to. If you are going the single partition route (excluding swap) then you will just select "done addining partitions/continue" It's still menu driven and graphical, just not a polished gui like ubuntu or windows. Don't be nervous, JUST BE CAUTIOUS WHEN SELECTING YOUR TARGET PARTITION and it's going to breeze by.
Damgar, many thanks! yeah this seems to be the best option. So I will simply put Slackware on my Linux partition (currently Ubuntu) using the Target options, then it will detect my SWAP etc.

One final question and ill move onto install: given that I have 3GB RAM, don't you think my swap space that Ubuntu created (1.6 GB) is insufficient? If so, from where should I get the space to expand? Can it simply come out of my Linux Partition? (maybe I can delete my current swap partition, then that will space will go back into the Linux partition, then create swap in the installation?)


Thanks so much for all your help guys....sorry to keep this going so long!
 
Old 02-28-2010, 05:42 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
With 3GB of RAM then 1.6 of swap is probably plenty. You could just delete those partititions with the partition editor of your choice and start from scratch, but you don't neccessarily need to do that.
 
Old 02-28-2010, 05:51 PM   #11
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Smile okay....resize swap

Ill either just A. leave my 1.6GB SWAP or 2. Resize using Parted.


***Could I just create a "Swap File"? Ive read about this, and seems safer (for a GREEN newbie) to do rather than repartition. Plus I could at least get started sooner and do this if I need more swap. Thoughts?****


Thank you guys so very much. Dagmar, Gazl and the rest!

Brad

Last edited by Ubunoob001; 02-28-2010 at 06:12 PM. Reason: add another idea
 
Old 02-28-2010, 06:19 PM   #12
GazL
Senior Member
 
Registered: May 2008
Posts: 3,502

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Either option should be relatively painless. If you want to use suspend/resume then you'll need to make swap a little bigger than the amount of RAM you have, otherwise, with 3GB of RAM, I doubt your box will do much swapping anyway. Mine certainly doesn't.

Best of Luck Brad. Happy Slacking.
 
Old 02-28-2010, 08:30 PM   #13
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Lightbulb Will replace Ubuntu partition with Slackware. Add swap files as needed

Quote:
Originally Posted by GazL View Post
Either option should be relatively painless. If you want to use suspend/resume then you'll need to make swap a little bigger than the amount of RAM you have, otherwise, with 3GB of RAM, I doubt your box will do much swapping anyway. Mine certainly doesn't.

Best of Luck Brad. Happy Slacking.

Thanks! According to some sources, the 2.6 kernel is nearly as fast with swap files as partitions. So im going to go this route for now. Thanks again.
 
  


Reply

Tags
grub, installation, lilo, partition, replace, slackware, ubuntu


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
Adding memory from dedicated Kubuntu Partition back to Vista. cdeli Linux - Newbie 6 01-17-2010 09:24 PM
Dual-boot Slack/Ubuntu-install slack over XP-help with weird partition layout & lilo? linus72 Slackware 2 05-23-2009 11:03 AM
Difficulty loading Vista Partition through Grub ajungstein Linux - Software 8 12-26-2008 06:55 PM
Hang at grub loading +1 Vista in a logical partition lambchops468 Linux - General 3 09-30-2007 10:45 PM
Adding Slack 10.0 to Grub.conf?? snakeo2 Slackware 1 09-16-2004 04:23 PM


All times are GMT -5. The time now is 09:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration