Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-23-2015, 06:18 PM   #1
Registered: May 2003
Distribution: Slackware
Posts: 193

Rep: Reputation: 128Reputation: 128
Question How to "hide" windows boot partition on desktop

Hi - recently obtained a Lenovo T420s Thinkpad that I was hoping to make into my new portable home; and to experiment with Slackware Multilib, and possibly -current while waiting for the next release ...

As installed by the factory, it had:
1. a small bootable partition
(sda1 , labelled [SYSTEM_DRV] )
2. a separate ntfs partition for the main Win7 install
(sda2 , labelled [Windows7_OS] )
3. a separate ntfs partition containing "recovery" tools
(sda4 , labelled [Lenovo_Recovery] )

(all of these are primary partitions)

Even tho I'm not a Redmond fan, it annoys me to throw away working stuff, so I'd always planned to keep the Win7, and dual boot.

So, I shrank the [Windows7_OS] partition as much as I could, and carved out a swap and ext4 partition out of what was left in an extended partition for Slackware. I added /dev/sda2 in fstab, so I could get to any Win7 data I might need, but purposely did not add /dev/sda1 or /dev/sda4, as I did not see a reason to have them mounted from slackware.

So I installed Slack64 (14.1) from dvd, and upgraded everything to the latest patch level (not to current, and I haven't done any multilib yet).

So much for the setup - now for my questions.

When I start my xfce desktop, [SYSTEM_DRV] is presented as something available to mount (at /run/media/myId/SYSTEM_DRV). How do I prevent that? Do I possibly need to teach myself to write some udev rule? (which is not something I've ever messed with, but I will if needed, and someone would point me in the right direction). I note that [Lenovo_Recovery] does not appear; I suspect that it is because it is not marked as bootable.

Thx in advance for any hints and helps.
Old 06-23-2015, 06:41 PM   #2
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
I used to do that with a udev rule:


There's lots of information on the web, use your favorite search engine with some related keywords such as hide partitions udev. You'll get plenty of links.
2 members found this post helpful.
Old 06-23-2015, 10:11 PM   #3
Registered: May 2003
Distribution: Slackware
Posts: 193

Original Poster
Rep: Reputation: 128Reputation: 128
Thank you. That worked. I'm sure that I tried something similar previously,


but it didn't work. Of course, I'm not sure I put it in a 99-xxx.rules file. That might have been part of the problem. Thanks again. Marking this solved.
Old 06-23-2015, 11:10 PM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,146

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
udisks versus udisks2 - different variables.


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
How to remove a fedora - linux partition from a dual boot system "windows 7 + Fedora" deb1bhu Linux - Software 6 06-13-2011 01:06 PM
I can not boot into window(if i select windows from option "invalid partition table" janakiramulu Linux - Newbie 5 03-09-2011 03:15 AM
Skip "Installation Method" and "Select Partition" screens using boot options tclappsdba Linux - Newbie 1 11-26-2010 05:31 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
grub list "MZ" for my windows boot "Help on Change" davimint Linux - Newbie 2 01-26-2006 06:22 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration