OpenSUSE Install :: Get Device IDs From Drive Devices For Fstab Scripting?
Apr 1, 2011
I am trying to write a script to modify /etc/fstab that will add entries for a number of partitions on different disks.
The only thing that I do not know how to do is to obtain a unique id such as the ones in /dev/disk/by-id/ to address by from a given partition (ie /dev/sdb1). In my fstab I noticed that in installation the system added fstab entries that are unique (in /dev/disk/by-id/)
I could simply do /dev/sdb1 and so on, but I would prefer a unique identifier so that each mount point is tied to a partition on a specific and unique physical drive.
i need this to be script-able if possible, if not I would still like to know.
View 3 Replies
ADVERTISEMENT
Jul 9, 2011
I succeed in uTorrent server's install as a daemon in Opensuse 11.4 and it works great. I've already change my fstab file to add a network drive to be mount on startup localize in /mnt/freebox/. This is also working great. The issue is during the startup, utorrent starts before fstab and thus the network drive is unmount.
In my utorrent init.d daemon script, I ask for $Network starts in first time: Code: Required-Start: $network Is there any possibilities to order the startup and ask to fstab to start before uTorrent Daemon?
View 4 Replies
View Related
Jan 6, 2010
I have a large external drive, which I connect to my laptop via a PCMCIA card - the machine is old and does not have USB 2.0 built in, so I use the PCMCIA card for that.
I am thinking of the following setup, and hope you can give me some tips on whether or not that would be a sound solution:
- designate a boot partition on the laptop's internal hard drive, which could store kernels
- make up a linux partition (or more than one) to use as root for any distribution on the external drive
- keep /home as separate partition on the external drive
My goal in mind is to be able to boot more than one Linux partition from the external drive. I can't make it through USB boot because the PCMCIA card is not recognized before a kernel module is loaded, and I can't use the internal USB 1.1 port for the external drive.
Do you think this is the way to go? Currently, I only have my /home partition mounted off the external drive.
View 5 Replies
View Related
Sep 14, 2010
I have the above bt dongle and I am unable to get the device to scan for remote devices. The dongle and bluetooth software is recognized and from a system point of view is working. Using Suse 11.3 64bits
[Code]...
When I scan the blue led comes on solid and goes back to blinking afterwords but nothing is found. I did try another adapter and the bluetooth worked. BTW The Bluedevel application is real nice and works much better then the kdebluetooth app,
View 1 Replies
View Related
Dec 11, 2010
I have UUID entries for USB devices in fstab in my Ubuntu 10.10. I assume this is because I have upgraded my Ubuntu's since 8.04. Each time I boot, I get a message saying it cannot mount the devices even though they are present. I have to skip mounting in order to complete the boot process. I also have two filesystems mounted at Root ( /). See later post in this thread.can I safely remove these entries from fstab and have Ubuntu automount the devices? If I do so, will this get rid of the messages at boot time?
View 3 Replies
View Related
Dec 18, 2010
I've got a partition on this HDD I want to add to fstab. But how?
I've already read some howtos but still don't understand it.
View 1 Replies
View Related
Dec 15, 2009
I have an external hard drive that I use with my laptop and I want it to be mounted at boot. I used YaST to do this by using the Partitioner. I selected the volume, then edited then chose to have the partition mounted at boot.
On next book the computer booted up and mounted the device as I expected but the boot up process took a long time. When I would usually get the desktop I got only a black screen for about one minute, the the desktop finally loads. I tried to reboot a number of times but I still get the same delay.
When I go back and choose to have the hard drive not auto mount and then reboot there is no delay in loading the desktop. So it seems like mounting this device is delaying the loading of my desktop on boot somehow.
Below is the line that is added to my fstab file to auto mount the drive:
View 9 Replies
View Related
Aug 11, 2010
This is an install of openSUSE-11.2 32bit. Obvoiusly, during the fresh install something went wrong. The HDD has 4 primary partitions, meant for /boot / swap /home (in that order). Instead of /home partition /dev/sda4 is mounted on /usr.
Currently it looks like this:
Code:
# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cbdf6
[Code]...
View 5 Replies
View Related
Feb 9, 2010
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
View 1 Replies
View Related
Jul 13, 2009
I have already started a thred here about RAID failure: RAID5 failed, system drops into limited single mode - openSUSE Forums
I was not able to boot the system until I commented /dev/md0 in fstab
Why is it so?
This is just a files sharing partition, it is not a system partition.
Is there any option to always ignore any errors and continue boot?
View 5 Replies
View Related
Jan 31, 2010
all of a sudden my pc decided no to start anymore.YOu might be aware of the ide/sata driver problem, well it was the problem. I reinstalled grub with suse dvd and it went ok. Pc working properly. But then i tried to fix this once for all and changed the fstab options from /dev-by-id to uuid (all partitions : swap, /, /home etc ).Is uuid a definite solution ?Why is the pc not able to start from there ?
Since i moved the partitions with uuid option in fstab and even after reinstalling grub the pc is not starting anymore . It gives me the boot menu (linux suse/failsafe) and then a black screen left with no keyboard nor mouse available.
[Code]...
View 9 Replies
View Related
Jan 14, 2011
I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?
View 2 Replies
View Related
May 24, 2011
I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.
Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users
I can execute a command
Code:
sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.
View 5 Replies
View Related
Feb 23, 2010
I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?
View 3 Replies
View Related
Apr 28, 2010
et me know what will be the required settings under /etc/fstab for adding external usb floppy device?
View 3 Replies
View Related
Jul 29, 2011
After installing 11.4 my fstab entries for CD and DVD drives as well as floppy generate errors when I try to mount them automatically or via Nautilus when inserting CD or DVD. The icons and CD/DVD name show up ok but will not mount. Manually mounting via terminal command works. Here are the relevant lines from fstab
[Code]...
In /dev scd0 and scd1 are symlinks pointing to sr0 and sr1 respectively. The above error message was generated after attempting to load a CD in scd0 i.e. my laptop internal CD/DVD drive. Lines 10,11 and 12 are the fstab lines quoted above.
View 6 Replies
View Related
Sep 2, 2010
I have loaded the Ubuntu 10.04.1 Live CD onto my HP p386i desktop. It loads easily and responds well in the "Try It" mode. I purchased a 16 gb USB Flash drive and did an install from the Live CD. After booting the CD ROM to the window where given a choice to "try" or "install", I inserted my flash drive into the USB port and selected "install". I had my 2 hard drives disconnected. At install point #4 I selected my USB drive and also selected manual partition . The partition displayed as follows:
Partition: /dev/sdf
/dev/sdf1 Type: EXT2 Mount at "/" Size=15,300mg Used=33
/dev/sdf2 Type: Swap Size= 718mg Used= 0
[code]....
View 3 Replies
View Related
Jan 11, 2010
I have 3 disks in my PC which are partitioned equally as I use them for Raid 1.The first partition on every disk is a simple ext2 partition for booting. No Raid there. So I mount them as /boot and /boot2 and /boot3. So I can backup my /boot to the other boot directories. That worked for some month and this morning I just want to look if all directories have enough free space left. So I did a df -h and got this:
Code:
Dateisystem Grove Benut Verf Ben% EingehÃĪngt auf
/dev/mapper/system-root
6,0G 301M 5,4G 6% /
udev 1,5G 292K 1,5G 1% /dev
/dev/sdb1 122M 29M 87M 25% /boot
/dev/sdc1 38M 21M 16M 59% /boot2
...
/dev/sda1 122M 29M 87M 25% /boot
As you can see /dev/sda1 and /dev/sdb1 are both mounted on /boot
Here is what mount says:
Code:
/dev/sdb1 on /boot type ext2 (ro,acl,user_xattr)
/dev/sdc1 on /boot2 type ext2 (ro,acl,user_xattr)
...
/dev/sda1 on /boot type ext2 (ro,acl,user_xattr)
This is no Problem for me as I could just remount it correctly, but I would like to know if this problem is known. I did not change anything by now and this PC is a server which is running 24/7, so I can deliver more debugging Information if someone is interested.
View 9 Replies
View Related
Jan 22, 2010
When I reboot, USB keyboard acts just fine for GRUB. Once SUSE begins to boot, I lose the keyboard (numlock light goes off too). Cannot press ESC to watch the boot sequence. Then, at login, there is no mouse or keyboard for about 60 seconds. Then suddenly, they both become active. Why did this start happening?
It has been about a week since my last reboot, so there's been a few config changes and patches, so it's going to be hard to narrow down a culprit. Thought USB configs in /etc/fstab was the problem, but still happening after rolling back changes to a known good config. Re-ran SaX2. Mouse and keyboard look good in the config file. Also, have otherwise healthy USB behavior with thumb drives and in VirtualBox machines. It just acts goofy at boot time.
View 5 Replies
View Related
Nov 9, 2010
I've made a bootable USB with 10.3 live CD. I can boot successfully using a 10.3 live CD as long as the USB stick is not plugged in, but if I try to boot from the USB stick, or from the CD when the USB stick is plugged in, I get "No devices matches MBR identifier: !" where the bit after the colon is 2 spaces followed by the exclamation mark. I've seen this message reported elsewhere but never with a blank for the MBR id.I'm running on a Dell Insprion 9100 with 1.5G RAM.
View 2 Replies
View Related
Jan 5, 2011
i'm using opensuse 11.3... sometimes i listen to a music from videos.. but, when i switch to another console (ctrl+alt+f1-5), music stops.. why? what will happen with other applications (database, etc) that work in a background?
View 6 Replies
View Related
Jul 15, 2010
I need to install Ubuntu on a client device that does not have a CD/DVD drive. It's on the same network and I'd like to be able to insert the Ubuntu CD into my desktop linux machine and install the OS onto this other device remotely.Is there way to do this easily? The client device is a barebones. There is nothing on it and I want to use the entire partition for this.
View 1 Replies
View Related
Aug 20, 2009
After a few tribulations, I managed to get VMWare server installed. The only problem is that it will not recognize any usb devices. I installed usb in the virtual machine using the VMWare interface and in preparation for that, I followed the instructions in the tutorial to the letter regarding fstab and the vmx file. Supposedly, at least according to Windows control panel, the usb controllers and interfaces are installed. The VMware web interface says the same thing. However, neither the Device tab on VMWare nor VMware Tools show any usb devices. The usb devices - a printer, removable drive, and magicjack - are all recognized by Linux. How can I get the virtual Windows machine to recognize the devices?
This is crucial since my major use for it is to run the magicjack which is not supported in Linux.
View 6 Replies
View Related
Oct 24, 2010
How to locate usb devices before the process of installation?
View 2 Replies
View Related
May 6, 2011
I want to use old devices names eth0, eth1 etc. instead of default OpenSuSE (11.1)eth_s0_0 etc. There is no firewall, no devices management via NetworkManager, static IP address.
1) to edit /etc/udev/rules.d/70-persistent-net.rules and insert eth0ð1 instead of eth_s0_0 & eth_s0_1
2) To rename /etc/sysconfig/network/ifcfg_eth_s0_0 ( and s0_1) to ifcfg_eth0 and ifcfg_eth1 and then reboot ?
View 6 Replies
View Related
Dec 15, 2010
UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?
View 2 Replies
View Related
Jul 31, 2011
I'm having a problem trying to customize Ubuntu 11.04 LiveCD.Everything went well until I tried to run the system updates on the LiveCD.This is the error message output:
Code:
root@lkjoel-desktop:/# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
code....
View 3 Replies
View Related
Jun 5, 2010
[openSUSE 11.1, kernel 2.6.27.45-0.1-Default, Gnome 2.26.3] I have a problem where I have an external USB drive which mounts at boot, with /home aboard it along with several data-only partitions, and if I try to add another USB drive *after* boot, the system changes the device IDs previously given to the original drive. The already running sdb now becomes sdc. If a user or processes are attached to /home when this occurs they are left in the twilight zone and stuff starts crashing. An added weirdness is the newly added drive isn't stealing the sdb ID, the added drive becomes sdd instead, and nothing at all is left at the sdb ID.
Note:
- System boots from sda, a non-USB drive with the system as well as /swap onboard, that should be uninvolved with the problem.
- Among the 4 partitions of the boot-mounted USB drive there are 2 lux-encrypted partitions (ext3). One is /home (originally encrypted under 10.3 and added back after machine upgraded to 11.1) and another being a data directory (later encrypted under 11.1).
- The problem _may_ occur only when the additional added drive is also lux-encrypted, but this may or may not be always true as I have limited other USB stuff to test with, most of it is also lux-encrypted.
View 1 Replies
View Related
Dec 28, 2009
I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.
View 6 Replies
View Related
Dec 7, 2010
Im considering installing Open Suse linux on my laptop - Lenovo Thinkpad T510i. Will all the devices be recognized?
View 2 Replies
View Related