LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-07-2004, 12:26 AM   #1
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
slackware partition


hello

i am using slackware 9.1

i had a win modem and motorola has gave driver for only redhat and mandrake

so i wanna use redhat 7.2 or redhat 9.0


i have linux resirefs in hda7 about 13.8 GB

and now free 4.6 GB

i wanna create another partition from this free space (about 1gb) and use redhat 7.2 or 9 minimal installation

how can i do that
 
Old 08-07-2004, 02:16 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Did you know that you can install a rpm in slackware with the rpm slackware package ?

you can do :
#install rpm directly
rpm -ivh --nodeps <rpm package>

# or convert it to a slackware package
rpm2tgz <rpm package>
 
Old 08-07-2004, 03:00 AM   #3
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Original Poster
Rep: Reputation: 30
ya

i know (thanx for reply)

i have installed the driver in salckware 9.1 but it is not working

and i know that some poeple has installed and working smoothly in redhat 9.0

i do not wanna leave slackware so i deceded that i will use both redhat and slackware

redhat is for only modem (i need to chat in irc and java so i will use prepaid card in it)

i had a lan connection but i am behind a proxy so that i can't do many thing in it



so i will use slack mainly use the lan
and the redhat for connect via phone line for direct connection
 
Old 08-07-2004, 03:03 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
What ' /sbin/fdisk -l ' says ?
 
Old 08-07-2004, 05:23 AM   #5
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Original Poster
Rep: Reputation: 30
root@localhost:/home/salahuddin# /sbin/fdisk -l

Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 913 7333641 b W95 FAT32
/dev/hda2 914 3649 21976920 f W95 Ext'd (LBA)
/dev/hda5 914 1816 7253316 b W95 FAT32
/dev/hda6 1817 1847 248976 82 Linux swap
/dev/hda7 1848 3649 14474533+ 83 Linux
root@localhost:/home/salahuddin#


how can i make a new partition in the hda7 (using some free spcae of it)
 
Old 08-07-2004, 07:32 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
on a first step, try to write the output of fdisk -l on paper.

Because :
As I see, you have deleted partitions yet (partition number hda3 and hda4 are missing)
so when you will remove/add partition, fdisk will renumber partitions so you need the sectors numbers to refer to your partition because /dev/hda5 for example may become /dev/hda4.

Example :
/dev/hda5 914 1816 7253316 b W95 FAT32

1st sector number : 914
2nd sector number : 1816

if /dev/hda5 becomes /dev/hda4, it will be
/dev/hda4 914 1816 7253316 b W95 FAT32

But you will know it is your old hda5 partition by looking at the first and the second sector number and have these informations for reference in paper . Do you understand that ?

After the change in the partition table, you have to check up your drive with ' /sbin/fdisk -l' and compare it with your paper then change /etc/fstab accordingly, it has to be done because if /boot or / partitions have changed, you will not able to boot in your system.

Last edited by Cedrik; 08-07-2004 at 07:41 AM.
 
Old 08-07-2004, 07:56 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hello Salahuddin-66 & Cedrik,

1 as far as i know: partitions are numbered as follows

nrs 1, 2, 3, 4 are for primary or extended part's ( max=4 pri or 3 pri & 1 ext. )
nrs 5, 6 ......ect are for logical stations inside an extended part.

as i see the output of fdisk -l, your disk is all used by partitions.

1 solution is to clear hda7 and split it in hda7 and hda8 ( one of them beeing the new 1 Gb. part. )
all you data will be lost and you have to install RedHat as well.......?
a lot of work.!!

2 solution could be: there are programs to shrink partitions ( dont know names or links,never used them. ) in your case i would give it a try. think you can find such a utility with google

egag

EDIT :http://www.rainbowpcm.com/partition_magic.html[/URL]
programcalled Partition magic ( free trial .)

Last edited by egag; 08-07-2004 at 08:10 AM.
 
Old 08-07-2004, 08:09 AM   #8
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Original Poster
Rep: Reputation: 30
i will search if then

then follow the frist instruction
 
  


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
slackware:partition and mount android6011 Linux - General 3 06-02-2005 07:24 PM
Boot partition for slackware chocloman Slackware 1 03-04-2005 08:42 AM
Partition Question (Slackware 10) abrahamfroman Linux - Newbie 4 08-06-2004 05:57 PM
Slackware 9.1 partition/Formatting deceasedcomrade Slackware 10 11-16-2003 06:46 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

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

All times are GMT -5. The time now is 01:17 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
Open Source Consulting | Domain Registration