openSUSE Forums > Pre-Release/Beta » Beta 11.2 rc installer dual swap partition

Go Back   openSUSE Forums > Pre-Release/Beta
Forums FAQ Members List Search Today's Posts Mark Forums Read


Pre-Release/Beta Questions about pre-release versions of openSUSE Linux (software & hardware)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-Nov-2009, 09:30
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 25
rthoreau hasn't been rated much yet
Exclamation Beta 11.2 rc installer dual swap partition

The installer won't select the proper swap device. After creating a swap partition it defaults to a previous swap device. This happens when you have two swap devices say one for each hard drive. At least it tells you during the install with a line like using dev/sdb5 swap or something.

I had no way to tell the partitioner to not use the Samsung swap device. I guess I could of deleted the partition but that might of left my other 11.1 install without swap.

This was taken from my /etc/fstab file.

/dev/disk/by-id/ata-Hitachi_HDS721616PLA380_PVB300Z2R6WHMD-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HD250HJ_S0URJ9CQ229388-part5 swap swap defaults 0 0

If need be I can file a bug, but I doubt many people are using such a setup.
Reply With Quote
  #2 (permalink)  
Old 07-Nov-2009, 10:40
hcvv's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: Netherlands
Posts: 1,898
hcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enough
Default Re: Beta 11.2 rc installer dual swap partition

When you want to tell your system (not the partitioner) not to use one of those swap partitions, remove the line from /etc/fstab and reboot. It is then free and can be used for other purposes (e.g. create a filesystem on it, etc).
__________________
Henk van Velden
Reply With Quote
  #3 (permalink)  
Old 08-Nov-2009, 07:23
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,783
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: Beta 11.2 rc installer dual swap partition

You just missed the opportunity to get it right during install. Since you already have a swap partition (no need for one on each disk BTW), the installer assumes it needs to be mounted as 'swap'. During install simply edit the entry and tell the partitioner not to mount it. Then tell it to mount the other partition as 'swap'. Tested and done.

On your doubt if many people have your setup: many people tend to think their machine is exotic because it has 3 OS's or 3 HDD's. How about this one:
6 HDD's, IDE and SATA
3 OS's, 11.1, 11.2 and Ubuntu
2 NVIDIA graphic cards
2 Sound cards
2 webcams
3 external HDD's
2 Gigabit networkcards
1 Wacom tablet
1 DVB card + common interface + CAM
Yet I handle it during install as any other PC.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3

R.E.S.T.E.C.P.
Reply With Quote
  #4 (permalink)  
Old 08-Nov-2009, 13:06
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 25
rthoreau hasn't been rated much yet
Default Re: Beta 11.2 rc installer dual swap partition

I might of missed it in the configuration, but I did not think to go under my old swap and not have it mounted. This machine probably won't even use swap as I have 8 gig of memory, the only reason I wanted two swap devices is the fact that I plan on removing that install from the second device once I get everything settled.

I planned on using a lvm, and my current lvm needed to be rewritten anyway. That way I can use more VM's when the time comes. This is replacing a fedora 11 lvm install, I was bitten by the ext4 bug and had a some corruption which would of required a rebuild anyway. So I decided to just redo my lvm, and go that route. Also the fact that I had already registered on the forums and a longer release cycle made a difference.
Reply With Quote
Reply

Bookmarks


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




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2