Results 1 to 3 of 3

Thread: I deleted my swap partition by accident;how to create new?

  1. #1
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    14

    I deleted my swap partition by accident;how to create new?

    I accidentally deleted my swap partition with qtparted. How do I create a new swap partition for knoppix 3.6 to replace the one I deleted?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568

    Re: I deleted my swap partition by accident;how to create ne

    Quote Originally Posted by jariep
    I accidentally deleted my swap partition with qtparted. How do I create a new swap partition for knoppix 3.6 to replace the one I deleted?
    The obvious solution would be to boot from the live CD (not from your hard drive), run QTParted as root, and recreate the swap partition, no?

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16

    Re: I deleted my swap partition by accident;how to create ne

    Quote Originally Posted by eco2geek
    Quote Originally Posted by jariep
    I accidentally deleted my swap partition with qtparted. How do I create a new swap partition for knoppix 3.6 to replace the one I deleted?
    The obvious solution would be to boot from the live CD (not from your hard drive), run QTParted as root, and recreate the swap partition, no?
    This is exactly the sort of situation that knoppix live-CD shines at: emergency system recovery, even for itself.

    Creating the swap partition is only the first step however. It also has to be initialised. QTParted apparently will do this. Select the appropriate partition, then go under Operations->&Format. Select a partition type of "linux-swap". Or, you can do it from a root shell using mkswap (see the man page). The next time you boot linux should find the swap and use it automagically just like always.

Similar Threads

  1. Unable to create swap file during boot from CD
    By Ham13 in forum Hardware & Booting
    Replies: 15
    Last Post: 01-20-2007, 07:31 PM
  2. Unable to create swap file.
    By Ham13 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 09-05-2006, 01:09 AM
  3. Deleted Win Partition w/ Knoppix, Having Problems Booting Up
    By RewindYourVideos in forum MS Windows & New to Linux
    Replies: 10
    Last Post: 08-16-2006, 02:42 AM
  4. create a permanent swap
    By thomas_remkus in forum Hardware & Booting
    Replies: 5
    Last Post: 03-12-2005, 02:47 PM
  5. swap partition
    By ZeroKun in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-07-2004, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SonicWall TZ400 Security Appliance - 01-SSC-0213 Firewall picture

SonicWall TZ400 Security Appliance - 01-SSC-0213 Firewall

$350.00



Cisco ASA5525-X 8-Port Firewall Adaptive Security Appliance  *USED* picture

Cisco ASA5525-X 8-Port Firewall Adaptive Security Appliance *USED*

$55.00



Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture

Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years

$263.99



Cisco ASA 5506-X Network Security Firewall w/ AC Adapter picture

Cisco ASA 5506-X Network Security Firewall w/ AC Adapter

$39.99



Fortinet Fortigate-60E Network Security Firewall FG-60E *Registered picture

Fortinet Fortigate-60E Network Security Firewall FG-60E *Registered

$64.99



Fortinet Fortigate 61E FG-61E Network Security/Firewall Appliance *Registered* picture

Fortinet Fortigate 61E FG-61E Network Security/Firewall Appliance *Registered*

$79.99



Cisco ASA5506-K9 ASA 5506-X Network Security Firewall picture

Cisco ASA5506-K9 ASA 5506-X Network Security Firewall

$40.00



SOPHOS XG-125 Rev 3 Gigabit Router Firewall 8 Port No Cord Included. picture

SOPHOS XG-125 Rev 3 Gigabit Router Firewall 8 Port No Cord Included.

$100.00



Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture

Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New

$226.79



Palo Alto Networks PA-850 Firewall VPN Gateway w/ Rack Ears and Dual PSU picture

Palo Alto Networks PA-850 Firewall VPN Gateway w/ Rack Ears and Dual PSU

$194.99