partition problems!


 
Thread Tools Search this Thread
Operating Systems Linux partition problems!
# 1  
Old 04-11-2004
partition problems!

Hey,

haha i'm back! Just when i thought everythign was working fine and dandy i found out that i screwed up my partitions way back when i set teh computer up like 5 months ago...lol. SO! I have decided to format....jus tcause this is my learning computer and install RH9 or whatever the latest version of it is. This brings me to my first problem! haha how do i format 2 linux drives! hda1 and hdb1? After i do that would i jsut download linux 9x and burn it to a cd to install it? haha thanks and happy easter!
# 2  
Old 04-16-2004
It's probably easiest to do it during the install. Burn the isos to CD, start the install, and either select auto partition, disk druid (my preference), or fdisk. If you currently have linux working on the system, 'dmesg | grep hd' will list the ide drives, 'dmesg |grep ida' will show the drives if you have a proliant box, and 'dmesg |grep sd' will show the SCSI drives. You can then use fdisk to partition them and mkfs or mke2fs to format them. However, during the install you will have to redo much of this anyway because the installer will not know which partition is for which mount point. Bottom line, just do it during the install.
# 3  
Old 04-22-2004
Bug

Normal! You can use PQMagic to Creat a New Partion. With RH9, Wizard will help you creat partion for Linux (Ext2, Ext3, Swap....). To run RH9, you need have 4 GB HD for 2 partion of Linux:

- Ext2 or Ext3 (Partion Data of Linux)
- Swap (Partion Virtual Memory of Linux).

It's very simple.

Or you can do this work by command:

To creat ext2 partion:

mke2fs -c <partion> <size>

To creat swap partion:

mkswap -c <partion> <size>

Good Luck
# 4  
Old 04-22-2004
oh ok haha great thanks, just one more question haha. What kind of partition is supposed to be small so the boot sequence or somthing can be written to it?
# 5  
Old 04-23-2004
I think you are talking about /boot. I typically make this 512 MB which is overkill but I like to have room to play. This just stores the basic boot stuff. On some systems if /boot (or / if you didn't create a seperate /boot partition) is over 4 GB the system will not boot. It's a bios thing. With a small /boot you could create a huge / and not have to worry about boot problems. I usually use ext3 but ext2 works just fine as well.
# 6  
Old 04-23-2004
[root@linksys /root]# fdisk /dev/hdb

The number of cylinders for this disk is set to 38792.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): 2
2: unknown command
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help): p

Disk /dev/hdb: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4161 2097112+ 82 Linux swap

Command (m for help):
--------------------------------------------

So haha this is the partition table for my hdb so this is saying that i've only got 4 gigs in use and the rest is going to waste, right? How could i make this so i could use the rest of this hard drive?
# 7  
Old 04-24-2004
Your answer is in your post. Go into fdisk and type "n" to create a new parition. It will prompt you for the info. After the prompts are done, type "w" to save and exit. Now run "mke2fs /dev/hdb2" followed by "mount /dev/hdb2 /somedir".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Problems with cryptsetup keyfile encrypted root partition under Debian 9, i386

Hello, i'm trying to set up a machine with an encrypted filesystem. It's a Debian 9/i386. The partition table on /dev/sda 1. 1 MiB BIOS BOOT (04) N/A N/A 2. 256 MiB Linux (83) ext4 /boot 3. 2304 MiB Linux (83) ext4 / 4. 1 MiB MINIX (81) N/A N/A 5. 510 MiB Linux... (7 Replies)
Discussion started by: tyuxar
7 Replies

2. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

3. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

4. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

5. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

6. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

7. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

8. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

9. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies

10. UNIX for Dummies Questions & Answers

Partition Problems

I just finished installing Solaris 5.8 and I tried to install StarOffice, it said I was out of room. Now I have a 3 gig HD and I THOUGHT that I gave 512 to swap and kept the rest for storage room. How do I check how much room I have, how would I if I figured out I don't have enough room add... (5 Replies)
Discussion started by: veitcha
5 Replies
Login or Register to Ask a Question