LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-17-2007, 01:35 PM   #1
ysz
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Exclamation partitioning


hi,
1 boot slack 11 from dvd
2 logon as root
3 command "cfdisk"
4 partition
-bootable partition (chose type as linux)
-swap partition (chose type as swap linux)
-root partition (chose type as linux)
5 command "W" and type "yes"
6 then command "q"
7 command "setup"
8 WARNING!! there don't seem the partition for linux. you must make at least one partition for linux. or something like that.

how can i do for this??

and also, actually i want to dual boot slack with windows vista. cuz my laptop is preinstalled vista. but when i command cfdisk, there is just free space for partitioning. nothing appears as the partition for vista even though i use it right now. what does it mean??

i really need your help....
 
Old 09-17-2007, 02:07 PM   #2
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Quote:
Originally Posted by ysz View Post
hi,
1 boot slack 11 from dvd
2 logon as root
3 command "cfdisk"
4 partition
-bootable partition (chose type as linux)
-swap partition (chose type as swap linux)
-root partition (chose type as linux)
5 command "W" and type "yes"
6 then command "q"
7 command "setup"
8 WARNING!! there don't seem the partition for linux. you must make at least one partition for linux. or something like that.

how can i do for this??

and also, actually i want to dual boot slack with windows vista. cuz my laptop is preinstalled vista. but when i command cfdisk, there is just free space for partitioning. nothing appears as the partition for vista even though i use it right now. what does it mean??

i really need your help....
Please post the output of:
fdisk -l
 
Old 09-17-2007, 05:19 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by ysz View Post
hi,
1 boot slack 11 from dvd
2 logon as root
3 command "cfdisk"
4 partition
-bootable partition (chose type as linux)
-swap partition (chose type as swap linux)
-root partition (chose type as linux)
5 command "W" and type "yes"
6 then command "q"
7 command "setup"
8 WARNING!! there don't seem the partition for linux. you must make at least one partition for linux. or something like that.

how can i do for this??

and also, actually i want to dual boot slack with windows vista. cuz my laptop is preinstalled vista. but when i command cfdisk, there is just free space for partitioning. nothing appears as the partition for vista even though i use it right now. what does it mean??

i really need your help....
Hi,

If you did a 'cfdisk /dev/your_device' to create the partitions then just re-boot the system to update the partition table.

That way the update will be available for the setup program. I like to format my partitions before the setup;

Code:
~#mke2fs -c -j -L LinuxLabel /dev/Your_device
                                             #-c bad block check
                                             #-j ext3 journaled
                                             #-L volume label
~#mkswap -c /dev/Your_Swap                   #create swap but
                                             #don't swapon
You can 'man mke2fs' to more information.

Last edited by onebuck; 09-17-2007 at 05:20 PM. Reason: amend suggestion
 
Old 09-19-2007, 06:17 PM   #4
ysz
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tramni1980 View Post
Please post the output of:
fdisk -l
Code:
root@slackware:/#fdisk -l

Disk /dev/sda:100.0GB, 100030242816 bytes
255heads, 63sectors/track, 12161 cylinders
Units= cylinders of 16065*512 = 8225280 bytes

Device Boot  Starts  End    Blocks   Id   System
/dev/sda1       1    365    2929689  27   Unknown
Partition1 does not end on cylinder boundary.
/dev/sda2 *   365   6809   51757083   7   HPFS/NIFS
/dev/sda3    6809  10699   31248384   f   W95 Ext'd (LBA)
/dev/sda4   10699  12162   11748555   c   W95 FAT32 (LBA)
.../dev/sda?
when i tried partitioning with "cfdisk," there was like "Disk Drive: /dev/hda"
is that the problem? or.......i'm really confused.
 
Old 09-20-2007, 03:44 AM   #5
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Quote:
Originally Posted by ysz View Post
Code:
root@slackware:/#fdisk -l

Disk /dev/sda:100.0GB, 100030242816 bytes
255heads, 63sectors/track, 12161 cylinders
Units= cylinders of 16065*512 = 8225280 bytes

Device Boot  Starts  End    Blocks   Id   System
/dev/sda1       1    365    2929689  27   Unknown
Partition1 does not end on cylinder boundary.
/dev/sda2 *   365   6809   51757083   7   HPFS/NIFS
/dev/sda3    6809  10699   31248384   f   W95 Ext'd (LBA)
/dev/sda4   10699  12162   11748555   c   W95 FAT32 (LBA)
.../dev/sda?
when i tried partitioning with "cfdisk," there was like "Disk Drive: /dev/hda"
is that the problem? or.......i'm really confused.
So your hard drive is recognized as /dev/sda. The partition /dev/sda1 should be for your Linux system, shouldn't it? If this is the case you just have to set its type to "Linux". This is done by toggling type label 82. 83 is for swap. I use fdisk for disk partitioning. With fdisk just type:
fdisk /dev/sda
1 #the partition number
t #change type
82 #code for the type of partition- "Linux" in this case
w # save changes and exit

Then you might want to create a swap partition. Set its label to 83.
 
Old 09-20-2007, 09:21 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Isn't 83 Linux and 82 Linux swap?
 
  


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
Un-Partitioning Brian Sabey Linux - General 4 06-20-2006 03:44 PM
Partitioning superdude_876 Slackware 5 10-20-2005 10:28 AM
Help with partitioning Jay Smith Linux - Software 8 09-09-2004 01:22 AM
Partitioning cxiii Linux - Newbie 4 08-24-2004 05:03 AM
partitioning and beyond humanveal Linux - General 1 05-30-2002 03:29 AM

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

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