nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Deleted SWAP partition

This is a discussion on Deleted SWAP partition within the Linux software forums, part of the Linux Getting Started category; Dear sir and friends, I have deleted my swap partition at /dev/hda5 . I booted from CDROM in rescue mode ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 02-04-2005, 05:54 PM
Junior Member
User
 
Join Date: Jan 2005
Posts: 19
Rep Power: 0
sonaikar
Default Deleted SWAP partition

Dear sir and friends,

I have deleted my swap partition at /dev/hda5 . I booted from CDROM in rescue mode and created new SWAP partition of 128 MB. unfortunately I didn't remember the size of previous SWAP partition .

After rebooting machine INITRD starts loading into memory but hangs.
I think I need to create new "initrd " image relevant to my SWAP partition.

I tried to create initrd after booting in rescue mode.I changed chroot to /mnt/sysimage and issued command for initrd. But it creates initrd files into temp partition instead of creating image into /boot folder.

I am puzzeled how to solve this problem. Hope help from you.


Your friend,
Sameer
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-05-2005, 07:20 PM
Administrator
Site Admin
 
Join Date: Jan 1970
Posts: 43
Rep Power: 10
vivek has disabled reputation
Default

Ramdisk must be stored in /initrd directory or it may be used using /dev/initrd.

If it is in tmp dir then you can copy the image to above directory i.e. /initrd

I don't think so you need to create new ram disk when you create swap partition but you need correct entries in /etc/fstab boot into rescue mode and make sure your swap partition points to correct location
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Why Swap=2 x RAM diptanjan Getting started tutorials 5 03-25-2008 02:14 AM
httpd.conf deleted! How to re-generate? vivekv Getting started tutorials 2 01-17-2008 04:45 PM
Swap piggy Getting started tutorials 3 07-17-2007 10:44 AM
Difference between Linux Swap partition & Swap file hrishikesh Linux software 9 03-16-2007 03:08 AM
root deleted lschia Linux software 1 10-18-2006 03:34 AM


All times are GMT +5.5. The time now is 08:58 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36