General :: Mount A Partition At The Time Of Startup?
Jan 18, 2010
i want to boot one of my partition mounted at start-up !! i don't want to do such thinks with typing password and all
there is no option called remember authentication in helena! but it is there in gloria (is it my problem or helena's?)
View 1 Replies
ADVERTISEMENT
Nov 25, 2015
I just installed Debian 8.2 (Jessie). I couldn't find the way to mount the Windows 7 partition, at installation time.
¿Could you tell me how can I mount NTFS partitions in order that they be mounted at boot time and can be accessed (read and write) by any user?
I know, I should edit "/etc/fstab" file. But I don´t know very well how to modify it.
And... ¿Should I create the mount point directory, also?
View 4 Replies
View Related
Dec 28, 2009
This is strange. I moved OS 11.1 from an old 150 GB PATA drive over to a 500 GB SATA using Parted Magic. The old and new partitions were
Code:
OLD:
/dev/sda1 - 19.99 GB, mounted as / (root partition)
/dev/sda2 - 97.82 GB, mounted as /home
/dev/sdb1 - 29.52 GB, Windows XP
NEW:
/dev/sda1 - 29.30 GB, mounted as /
/dev/sda2 -292.97 GB, mounted as /home
/dev/sda3 - 45.82 GB, Windows XP
I used the "Clonezilla" tool on the Parted Magic live CD to move and resize the partitions. To my delight, everything appeared to transfer just fine. I can boot into OpenSUSE 11.1 (though not into Windows, but that's not really important; I'll figure that out later), but my /home partition won't mount. I'm set to autologin, and I get the expected error: "can't access /home/stephen" (or something like that). Here's the weird thing. I can ALT-F3, get a terminal and manually "mount /dev/sda2 /home", go back to ATL-F7 and log right in, so I know the disk is fine. (I've already 'fsck'd everything, by the way, and they're clean.)
I've used Yast's partitioner about a dozen times, trying "device by ID" and other settings. I always get the same thing when I reboot. On this last reboot, when it refused to log into /home, I ALT-F3'd, logged in as root, did a "cat" on "/etc/fstab" and entered the device-by-id line exactly as I saw it there and it mounted the /home directory just fine! ALT-F7, logged into KDE. I'm typing this in KDE now. Works fine. I so rarely need to reboot this machine that I can manually mount the /home partition, if need be, but (obviously) I'd like it to be mounted automatically during the boot.
Here's my /etc/fstab:
Code:
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part1 / ext3
acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home ext3 acl,user_xattr user,acl,1 2
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part3 /windows/C
ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 .....
I don't see anything obviously wrong here. The fact that I can take that second line and do a manual "mount" shows me that the device ID is at least correct. Just to be clear, here's what I entered in virtual terminal 3 as root to get my home partition to mount:
Code:
mount /dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home
and it worked fine. Exact same line.
View 9 Replies
View Related
Jun 2, 2010
I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.
View 2 Replies
View Related
Aug 1, 2011
my "places menu" references folders on a second partion, where I store all my personal files (ntfs, as I use it also from Windows). After boot those folders wouldn't show in Thunar. Some other programs, as Fontmatrix, wouldn't find databases stored there, what messes them up. Thunderbird has problems to recognize profiles etc.What is strange, the partition seems to be mounted at startup as I can see and select it from Thunar. Also, it appears on Desktop. After selecting the partition, closing and reopening Thunar everything works fine, places would show correctly and Fontmatrix database is ok
View 2 Replies
View Related
Apr 14, 2010
Is there a way I can run myProgram when desktop appears no matter if root , administrator, desktop user or an unprivileged user logs in? I actually developed a script which I set to run at startup i.e. when the Desktop appears. Script runs finely but can't mount a partition. In the script I mounted a partition using
Code:
sudo mount /dev/sda1 /mnt &> result.txt
After executing script a file named result.txt was created which contained
Code:
sudo: no tty present and no askpass program specified
In other words the mounting failed. If I run the script myself from the terminal using sudo ./myProgram i don't face this problem and the drive gets mounted successfully.
View 6 Replies
View Related
Aug 8, 2011
in debian stable, what is the proper configuration to add in /etc/fstab in order to mount ntfs partitions automatically at boot time, for all users, and every user to have read, write and execute permissions ?
View 2 Replies
View Related
Mar 12, 2010
I want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
View 2 Replies
View Related
Mar 28, 2011
I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output?I tried looking around /proc, but didn't find anything of relevance. There's also a line like this on my dmesg: [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812), but I'm wondering if this method is distribution and kernel version agnostic.
View 5 Replies
View Related
Jun 18, 2010
How can i mount all the drives at the startup in any linux distros ?
View 1 Replies
View Related
Mar 18, 2011
I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.
View 4 Replies
View Related
Nov 18, 2010
I have an mdadm/lvm2 volume with 4 HDs that I created in Ubuntu 10.04. I just upgraded the computer to Ubuntu 10.10.
I redid the mdadm commands to get volume up and running, did mdadm --detail --scan > /etc/mdadm/mdadm.conf to get the configuration file.
But now, every time I reboot, it tells me that the volume is not ready. /proc/mdstat says that I always have one disk of the volume "inactive" as md_d127. I need to stop this volume and reassemble the whole thing to get it working.
This is what I get out of mdadm --detail --scan and put inside /etc/mdadm/mdadm.conf:
And this is my /proc/mdstat on boot:
I need to do mdadm -S /dev/md_d127, mdadm -S /dev/md127, mdadm -A --scan to get this volume working again.
This did not happen with Ubuntu 10.04. I'm really fearing the loss of my raid5 data now.
View 3 Replies
View Related
Mar 2, 2010
I'm using an Intel-based macbook, I made a new partition with BootCamp, after that I inserted debian installation CD, deleted the FAT32 partition that was made by BootCamp, made 3 new partitions:
/ ex3
/home ex3
and a swap partition,
after installing debian, I restarted macbook, but it couldn't recognize linux partitions, in Mac OSx I can't find any of these partitions as startup disks, and I can't mount them in Disk Utility, How can I access these partitions? how can I boot to debian?
View 3 Replies
View Related
Feb 19, 2009
I have a nfs share that does not automount all the time (may be one out of 10 time it automount properly). I basically have the same line in the fstab on my other 2 computers and no problem on these. I suspect that my wireless connection kick in too late (after fstab). Do you see a solution for delaying a few second the automount of the nfs share.
Code:
# Entry for nfs share on 192.168.1.20 :
192.168.1.20:/mnt/sdb5_data5 /mnt/sdb5_data5 nfs user,sync,rsize=8192,wsize=8192,exec,soft 0 0
View 4 Replies
View Related
Aug 2, 2010
I have two hard drives in my desktop. One HD has a working Ubuntu system-hence the ability to post here- and the other contains Windows XP Pro. When the XP drive crashed I was able to re-install an image I had saved using Acronis. Unfortunately the dual-boot option at startup is no longer available. I can only boot to Ubuntu. Not so bad really but there are some programs on Windows that I need to use. Is there any way, using Grub perhaps, that I can reconfigure an MBR to include the second hard drive and the Windows system?
View 1 Replies
View Related
Jun 8, 2010
In Linux how do I mount a OS-X partition * by name * that is on the same host? I once used gnome-mount like this:
gnome-mount -o ro -d /dev/sda2 or gnome-mount -o ro -p "Macintosh HD"
But, alas, gnome-mount seems to be no more. RIP.
I can do this:
gvfs-mount -d /dev/sda2
(which generates a whole lot of errors but does mount the partition in the /media directory.)
This is a related question: [URL]. But how do you do it by name?
View 1 Replies
View Related
Jan 28, 2010
I bought an IOMEGA Screenplay Director HD and i want to mount a partition from it using my linux. When i ran fdisk, i get:
Disco /dev/sda: 1000.2 GB, 1000204886016 bytes
255 cabezas, 63 sectores/pista, 121601 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
[Code].....
But it states that is a linux filesystem but doesnt specify which one or the way things are done.
View 13 Replies
View Related
Jul 4, 2010
one of my partition(actually its ntfs) are not detected in my Ubuntu,its say "unmounted".. here the screenshot with GParted :[URL]...(the highlighted area is the partition that i mean,/dev/sda1)
i try mount the partition(using mount -a) but i got the error message like this :
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
[Code]..
i can't format that partition because i need to get i386 folder to get my windows back.i already try to install windows but my harddisk wont detected,it happened too to windows recovery console.there is a hidden partition,comes with the netbook,it use too get back to the factory setting with OneKeyRecovery,but it useless if the partition is messed up,thats why i need the i386 folder to get OneKeyRecovery workin again..
View 8 Replies
View Related
May 10, 2011
Toshiba Satellite Win 7 which won't boot past BIOS - left with non-blinking cursor.Hitachi hard drive partitioned into 3 part - 1.4 gb MBR / 222gb Windows C:/ 20gb HD Recovery. Unfortunately owner did not make recovery discs. Data is not critical but would be nice.
Hitachi DFT drive test utility does not see the drive - error is no controller found
Pulled Hitachi drive and placed into external USB case. Plugged into PCLinuxOS installation. Drive Spins up OK
PCLinuxOS sees and CAN mount the ntfs-3g MBR AND the HD Recovery partitions but will not mount the Windows C;/ drive partition. Google finds lots of threads about downloading ntfs-3g package to mount the partitions but this is not the problem as Linux sees and mounts the MBR and Recovery partitions.
Is the Hitachi partition table corrupted? What tools to use to fix?
View 5 Replies
View Related
Mar 29, 2011
I'm on a machine running OSX Leopard and Ubuntu 10.04: Ubuntu is installed on a ReiserFS partition, and it's data as well.Ubuntu and OSX are installed one for disk (disk0s* OSX - disk1s* Ubuntu)I'm aware of MacFUSE and I've already used it for sshFS but now I need it to mount a ReiserFS disk: do you know how to do that?
View 1 Replies
View Related
Feb 26, 2010
ntfs-3g /dev/sdb1 /media/sdd7 ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument Record 6 has no FILE magic (0x0) Failed to open inode FILE_Bitmap: Input/output error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
View 4 Replies
View Related
Aug 14, 2010
i've a partion hda2 that i'd to mount on boot as /folderXhow could i do that.
View 3 Replies
View Related
Feb 16, 2011
Running PCLinuxOS 2009. I had a partition formatted with ReiserFS. I was trying to create a large file (a clone of a VirtualBox .vdi file) and it kept stopping me at 2GB, so I decided to reformat with ext3.
a) I deleted or moved all data
b) sudo mkfs -V -t ext3 /dev/sda11
c) sudo e2label /dev/sda11 VDIBKP
This appeared to have worked:
$ sudo blkid /dev/sda11
/dev/sda11: LABEL="VDIBKP" UUID="f80616fa-147b-4810-aa6d-3b7c236a4cfb" SEC_TYPE="ext2" TYPE="ext3"
[Code]....
View 5 Replies
View Related
Oct 23, 2010
I have separate ntfs partition on which is my music. The problem is how to mount it so that I can listen to the songs in my non-root account ? I use
Code:
mount /dev/sda3/ /mnt/disk
but the problem is that I have access to the files only with the root acc. Perhaps I'm missing some parameters. Also, I want this partition to be mounted every time I boot the linux but I don't know how to do it.
View 1 Replies
View Related
Aug 23, 2009
i tried making a Linux window shared swap partition using cfdisk and printed the result to the partition table and then immediately restarted my machine but the boot loader showed me there was an error it could not mount the boot partition, i use mepis what could be the problem?
View 5 Replies
View Related
Feb 11, 2010
If it's a freebsd partition,what's the command to mount bsd partition?
View 5 Replies
View Related
Mar 7, 2010
I have an image of the entire disk created using dd. The disk structure follows:
The image was created using:
How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?
It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.
View 3 Replies
View Related
Apr 7, 2010
i want to have 2 partitions. one is called system. the other is private.
in the private partition i've got some folders i want to mount into system as system folders.
folders in private:
- www
- home
mount points in system:
- /var/www
- /home
is this possible? cause it seems that you can only specify a whole partition to use for a mount point and not a folder in a partition or am i wrong?
i run ubuntu server.
View 2 Replies
View Related
May 9, 2011
I was dual-booting Ubuntu (10.10) and Windows 7. I installed Backtrack in addition to these 2, and the Ubuntu GRUB was replaced with the one from Backtrack.
Now when I boot, only Backtrack and Windows 7 are listed in GRUB. When I run fdisk from Backtrack, I see all partitions, and running a Partition Manager lists the Ubuntu partition as a Linux partition. However, the partition manager says that it is unable to read the contents of the partition, and that it is unable to re-read the partition table.
Also, the Ubuntu, Backtrack, and Linux Swap partition are all listed under the same Extended partition.
View 2 Replies
View Related
Sep 4, 2009
i've been getting into problems trying to move around my partitions, by copying them to a directory on a partitions with alot of extra space, then mounting then with --bind. i think it's todo with the permissions, like i can run gdm for the gui but i can't login.startx doesn't work though, gives me some errors but i don't know alot about x windows. but like the partitions are mounted, but just the system doesn't work properly with them this way?this is my method
Code:
rsync -aHPvx /usr/ /store/usr_proxy
then in fstab
Code:
/store/usr_proxy /usr ext3 bind,defaults 0 0
View 2 Replies
View Related