02-22-2006
Ok,
I've managed to access internal disks when booting from cd-rom, but what I really need to do is access an external disk.
When I'm booted up in multi-user mode, the device name for the disk I need access to is /dev/rzb18c. When I boot from cd-rom, this device is not listed under /dev. I ran the following command to create the device:
/dev/MAKEDEV rzb18
Now there is a rzb18c listed under /dev so I do the following:
mkdir /etc/fdmns/clnc_domain
cd /etc/fdmns/clnc_domain
ln -s /dev/rzb18c
I use the following command to try and mount the disk:
mount -t advfs clnc_domain#clnc /var/mnt
...and I get an error that says something like bad address.
I was able to succesfully mount an internal disk after creating the entries in /etc/fdmns.
Am I missing some steps after the MAKEDEV?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My os is freebsd.
How can I access the cd-rom? (1 Reply)
Discussion started by: cantona
1 Replies
2. Linux
Hello ,
I am using Red hat 9. I want to access the windows drives from my Linux.
Can you please tell me the commands to mount those drives. Till now I am rebooting into windows, copying files into a pen drive and then again coming back to Red hat.
help me please (7 Replies)
Discussion started by: nsharath
7 Replies
3. Solaris
Hi, and a very Happy New Year to all the members. I am new to unix.com.
I wanted to install sunsolaris 10 and get dual boot it with Rhel5,WindowsXp.
Problem is when it comes use the partition i am confused as to how to partition it or select a partition for Sun solaris.
please help. (2 Replies)
Discussion started by: bunty82
2 Replies
4. HP-UX
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE EAC DVD-ROM DW-224EV
/dev/dsk/c0t0d0 ... (1 Reply)
Discussion started by: alert0919
1 Replies
5. UNIX for Advanced & Expert Users
Upon trying to open up permissions between 2 accounts in Snow Leopard I caused the os to crash - restarting/turning off then on did nothing - the os would no longer load. I took it into Apple where they got the os back up and running with a slight twist. The secondary drive was flagged (a little... (0 Replies)
Discussion started by: Alexander4444
0 Replies
6. Solaris
Hi,
I just got a new Ultra 5 and replaced the CD-ROM with an LG DVD-ROM (approved and listed in Sun HCL). Got the DVD-ROM installed to install Solaris 10. Im just learning and new to Solaris installation.
When I insert a Solaris 10 DVD I see that it gets mounted and File Manager opens and... (8 Replies)
Discussion started by: greypilgrim
8 Replies
7. Solaris
Howto boot from Cd-rom in Server Sunfire v250?
The system can't boot because the filesystem is corrupt.
The system say:
run manually fsck -F ufs /dev/rdsk/c0t0d0s5
But, I don't now how to make this.
I tried use stop + a, but nothing hapend.
Someone can I help? (13 Replies)
Discussion started by: vigux
13 Replies
8. Debian
i just installed Debian Lenny on HP DL380. After the server rebooted, it still asks for me to insert a cd rom. where can I exactly check the settings for the boot menu? Should it use the hard disk since I didnt insert any cd? pls advise (1 Reply)
Discussion started by: lhareigh890
1 Replies
9. Solaris
I have three Sun Oracle Netra T5220s. I am trying to just get the processor information psrinfo or prtdiag -v from the # prompt in single user mode.
I am needing to know the commands to get to boot the CD/DVD of the Solaris OS. I am using it via Serial Port Management.
Tinkering around I... (4 Replies)
Discussion started by: nerdboy
4 Replies
LEARN ABOUT POSIX
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)