LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2004, 09:40 AM   #1
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Rep: Reputation: 30
Unhappy Crashed a partition !! Help !!


hi,

WELL I HAD THE EXTREME NEED TO INSTALL WINDOWS ON MY BOX, SO I DECIDED TO REMOVE A PARTITION....
Code:
[root@unpredictable anurag]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults                 1 1
none                    /dev/pts                devpts  gid=5,mode=620           0 0
none                    /dev/shm                tmpfs   defaults                 0 0
LABEL=/masti            /masti                  ext3    defaults,users,rw,exec         1 2
LABEL=/other            /other                  ext3    defaults,users,rw,exec       1 2
LABEL=/software      /software                  ext3    defaults,users,rw,exec       1 2
none                    /proc                   proc    defaults                 0 0
none                    /sys                    sysfs   defaults                 0 0
/dev/hda5               swap                    swap    defaults                 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu       0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
So, I backed up all data on /software and then rebooted with a Windows XP Setup disk.
Now, after everything, I put the FC2 disk and booted in "linux rescue". I successfully reinstalled grub and removed the line "LABEL=/software...." from /etc/fstab.

Here is the real problem. /software was 20GB. I just used up 5GB for Windows, so basically the rest 15GB is free. How do I recover it in Linux ?? and make it mount on /software as before ??

This is what "fdisk -l" shows.........
Code:
[root@unpredictable anurag]# /sbin/fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1912    15358108+  83  Linux
/dev/hda2            1913        5736    30716280   83  Linux
/dev/hda3   *        5737        6389     5245222+   c  W95 FAT32 (LBA)
/dev/hda4            8287        9729    11590897+   f  W95 Ext'd (LBA)
/dev/hda5            8287        8477     1534176   82  Linux swap
/dev/hda6            8478        9729    10056658+  83  Linux

Help me please


Regards
unpredictable
 
Old 08-25-2004, 10:03 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
If you know which of those partitions is the rest of the 15 GB set the type to linux and make it ext3 again. Then add it again in your /etc/fstab file
 
Old 08-25-2004, 02:21 PM   #3
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Hi,
Well I recovered the partition. But now, it is a FAT32 formatted logical partition. How do I convert it to ext3 ??
Code:
[root@unpredictable anurag]# /sbin/fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1912    15358108+  83  Linux
/dev/hda2            1913        5736    30716280   83  Linux
/dev/hda3   *        5737        6389     5245222+   c  W95 FAT32 (LBA)
/dev/hda4            6390        9729    26828550    f  W95 Ext'd (LBA)
/dev/hda5            6390        8286    15237621    b  W95 FAT32
/dev/hda6            8287        8477     1534176   82  Linux swap
/dev/hda7            8478        9729    10056658+  83  Linux
[root@unpredictable anurag]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults                 1 1
none                    /dev/pts                devpts  gid=5,mode=620           0 0
none                    /dev/shm                tmpfs   defaults                 0 0
LABEL=/masti            /masti                  ext3    defaults,users,rw,exec         1 2
LABEL=/other            /other                  ext3    defaults,users,rw,exec       1 2
none                    /proc                   proc    defaults                 0 0
none                    /sys                    sysfs   defaults                 0 0
/dev/hda5               swap                    swap    defaults                 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu       0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
And by the way, in /etc/fstab the path to the device of the partition is just "LABEL=/software". How does Linux know which device ?? Help me people....I want back my 15GB of space back in Linux !!

regards,
unpredictable
 
  


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
crashed jcombs_31 Slackware 12 11-06-2005 04:11 PM
X crashed. bruse Fedora 3 05-28-2005 10:44 PM
fips Crashed Now Partition Way Too Small rdarlotto Linux - General 1 03-20-2004 10:20 AM
It Crashed! Brother Michael Linux - Newbie 1 08-18-2003 04:00 PM
X crashed chem1 Linux - Hardware 1 06-13-2003 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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