RE: mounting filesystems
> > FreeBSD team, > > I am having problems mounting my filesystem after moving the > drive from slave to master, the old location was, > '/dev/ad1s1a', and the device is now called 'ad0'. > I can tell you what the problem is, I just don't know exactly how to fix it. I believe it is your /etc/fstab file. All the entries that had ad1xxx now need to be ad0xxx. If you have any interaction at all (ie, it asks you for a boot prompt, you might be able to boot to device ad0s1a, manually mount the slice, edit fstab and reboot. Matthew Seaman gave a good (detailed) method of doing something similar, so you might search the archives or google for it. I am a mount amateur myself, so I can't get too specific. Good luck. -Derrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mounting filesystems
FreeBSD team, I am having problems mounting my filesystem after moving the drive from slave to master, the old location was, '/dev/ad1s1a', and the device is now called 'ad0'. Please could you help, Regards, Elliot Reeves ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Having problems with fixit floppy mounting filesystems
On Thursday, 29 May 2003 at 21:30:37 -0400, Tom Parquette wrote: > I was installing an additional hard disk and I believe I commented out > the wrong line in fstab or typo'ed something. The /usr filesystem is > not mounted. The machine will not boot to a command prompt so I can > repair it. It complains bitterly at boot time about not finding things > in the /usr/.. directories. > > I have never broken a system this badly before so this is the first time > I have had to use a fixit floppy. > If I can get the root and usr filesystems mounted r/w I should be able > to "ee" fstab and get myself going. > > I can get to the fixit command prompt but when I issue mount /dev/ad0s1a > /mnt to get the root filesystem mounted all I get is "operation not > permitted". That's because your root file system is dirty (which is normal after a crash). You can fix that with: # fsck -y / Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Re: Having problems with fixit floppy mounting filesystems
On Thu, 29 May 2003, Tom Parquette wrote: > I was installing an additional hard disk and I believe I commented out > the wrong line in fstab or typo'ed something. The /usr filesystem is > not mounted. The machine will not boot to a command prompt so I can > repair it. It complains bitterly at boot time about not finding things > in the /usr/.. directories. don't worry, it can be fixed. 1. Reboot your computer and when the boot's countdown starts press space bar. 2. type: boot -s 3. your computer will stop asking for a shell that will be used in single-user mode. just press enter to accept /bin/sh 4. type swapon -a mount -a of course, /usr will not be mounted because you made something wrong with your /etc/fstab. 5. perhaps the system will ask you to fsck your file systems. do it. you can add your the option "-y". fsck /dev/ad0s1a fsck /dev/ad0s1e ... fsck /dev/ad0s1g 5. type cat /etc/fstab to see where /usr is mounted... [hope it is there]. and mount /usr manually: mount /dev/ad0s1e /usr [ok, perhaps it is not ad0s1e, choose the proper partition] 6. edit /etc/fstab with your favorite editor, fix it, and save it. 7. reboot Hope it helps. > > I have never broken a system this badly before so this is the first time > I have had to use a fixit floppy. > If I can get the root and usr filesystems mounted r/w I should be able > to "ee" fstab and get myself going. > > I can get to the fixit command prompt but when I issue mount /dev/ad0s1a > /mnt to get the root filesystem mounted all I get is "operation not > permitted". > > I searched the mailing list archives and dug through the on-line > handbook and I'm not finding anything that gives me a clue what I'm > doing wrong. > > Any help would be appreciated. > TIA. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > - __ _ * / /###\ / \ __ /\ /\ * / ./ \ * \__|_/ | | / \/ \ | b#| *_ | __ | | __ =.. \ \ \_\#/ / \| / \ | | /\_\/ = \_|* \___\###/ *\_/\_/\__/\__\/_/\__/ = \__/ _ | | ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Having problems with fixit floppy mounting filesystems
I was installing an additional hard disk and I believe I commented out the wrong line in fstab or typo'ed something. The /usr filesystem is not mounted. The machine will not boot to a command prompt so I can repair it. It complains bitterly at boot time about not finding things in the /usr/.. directories. I have never broken a system this badly before so this is the first time I have had to use a fixit floppy. If I can get the root and usr filesystems mounted r/w I should be able to "ee" fstab and get myself going. I can get to the fixit command prompt but when I issue mount /dev/ad0s1a /mnt to get the root filesystem mounted all I get is "operation not permitted". I searched the mailing list archives and dug through the on-line handbook and I'm not finding anything that gives me a clue what I'm doing wrong. Any help would be appreciated. TIA. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regarding mounting filesystems...
On Wed, Feb 19, 2003 at 05:41:46PM +0100, Henrik W Lund wrote: > I'm just wondering how one can make it possible for anyone to mount, say a > CD-ROM or floppy disk, locally? I've played around with permissions on the > devices, on /sbin/mount, placement in groups and whatnot, but when my > ordinary user tries to mount the CD-ROM, all he gets is: > > cd9660: /dev/acd0c: Operation not permitted > > This seems to be the case no matter what the permissions are. I'm sure it's > a trivial thing, nevertheless it is one of which I am not aware. Can > anybody enlighten me? This is a FAQ: http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Regarding mounting filesystems...
I'm just wondering how one can make it possible for anyone to mount, say a CD-ROM or floppy disk, locally? I've played around with permissions on the devices, on /sbin/mount, placement in groups and whatnot, but when my ordinary user tries to mount the CD-ROM, all he gets is: cd9660: /dev/acd0c: Operation not permitted This seems to be the case no matter what the permissions are. I'm sure it's a trivial thing, nevertheless it is one of which I am not aware. Can anybody enlighten me? Thanks!! -Henrik, FreeBSD newbie and fanatic :D _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Mounting filesystems over SLIP interface
Hello, my question is about mounting filesystems over SLIP interface: The situation: I have an old notebook, running FreeBSD 4.4 on it. It only has a serial interface to "network" with it. So I got a serial cable from scrap and modified it for serial communication. On my server and on the notebook, I introduced a serial network interface (sl0), made a slattach for both with the same parameters and booted the systems. BTW, the server has also an TP interface, connected to a small home network via a hub. And, wow, I can telnet the notebook from server and vice versa, ftp and ssh works fine, too. Pinging and tracerouting is also possible! So hardware seems to be OK, software adjustments, too! The problem: Now I want to mount the filesystems /usr/src, /usr/ports and /usr/obj from the server via nfs to enable port installation and system/kernel building. That works from all the other machines at the hub without any problems. So I added the notebook to the allowed hosts in '/etc/exports', but when I try to mount the filesystems, I got a RPC timer out at the notebook. When I dump the serial interface, first everything seems to go well, but the fifth packet says: notebook udp port 1020 (number changes!) unreachable! BTW, gateway function of the server is enabled! Any Ideas Thanks, Thomas To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message