LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2008, 01:25 AM   #1
chakribobby
Member
 
Registered: Jan 2007
Posts: 49

Rep: Reputation: 15
how remove files system


Hi,
i have created the file system using this command
dd if=/dev/zero of=/opt/uml/debian-root bs=1024K count=1000
mkfs.ext3 /opt/uml/debian-root
mount -o loop /opt/uml/debian-root /mnt/debian

i need to remove the fie system that i have created

help me
thanks in advance
 
Old 04-19-2008, 02:02 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I don't think trying to remove a file system is the preffered route here. Because normally /opt is part of the / directory in most generic installations. Is your /opt in it's own partition?
Anyways, from a Linux system, you don't need to mount a drive/partition using the loop option if it's formatted ext3.
 
Old 04-19-2008, 06:25 AM   #3
chakribobby
Member
 
Registered: Jan 2007
Posts: 49

Original Poster
Rep: Reputation: 15
thanks for you reply
i am new to linux
can you explain me what are the step i need to do to remove the filesystem that i have created
 
Old 04-19-2008, 06:47 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You have created a linux filesystem from an ordinary file, then you have simply to unmount the loop device and remove the file:
Code:
umount /opt/uml/debian-root
rm /opt/uml/debian-root
 
Old 04-19-2008, 08:39 AM   #5
chakribobby
Member
 
Registered: Jan 2007
Posts: 49

Original Poster
Rep: Reputation: 15
thank you..for your help
 
  


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
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 06:31 AM
how to remove a package from the system phenixs Linux - Software 5 03-22-2007 10:42 AM
Need to remove files distributed throughout system. DanTaylor Linux - General 3 04-05-2006 05:15 AM
Remove all except base system? scheidel21 Debian 1 09-23-2005 06:30 AM
How do I remove users form my system? Joey.Dale Red Hat 2 11-11-2003 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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