LinuxQuestions.org
Review your favorite Linux distribution.
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 11-05-2004, 08:22 AM   #1
Maze the Kid
LQ Newbie
 
Registered: Nov 2004
Distribution: Mandrake 10
Posts: 19

Rep: Reputation: 0
Mounting a Loopback Partition on Boot


I have a dual boot Hdd and I finalized all my partitions on the drive but I forgot about the swap space. I found out how to get it trough loopback in diskdrake but i don't know how to mount it during the boot process. How should I go about doing this?

Thanks
Maze the Kid
 
Old 11-05-2004, 10:43 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
swap partitions (or swap files) are not mounted like regular filesystems. You do not need to enable swap via a loopback either.

Do you have a swap partition or a swap file?

Usually it enabled vi /etc/fstab
/dev/hdxy swap swap defaults 0 0

Where hdxy is the ID of your swap partition. If it is a swap file then use the file name and its full path instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting boot partition of a standard red hat/fedora install impossible? silex_88 Linux - Software 1 09-13-2005 05:18 PM
Mounting install isos as a loopback device Anthus Mandriva 3 06-03-2005 06:31 AM
mounting partition at boot jayzon Linux - Hardware 2 05-08-2005 04:45 PM
Mounting a nfs partition on boot time wjleon Linux - Newbie 1 05-02-2005 12:12 PM
How to grub install to a partition on an image file via a loopback Owen LaGarde Linux - Software 2 12-26-2003 10:06 AM


All times are GMT -5. The time now is 05:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration