04-04-2011
Some manufacturers have obnoxiously preformatted their flash drives with no boot sector whatsoever, the FAT32 partition begins right at sector zero like an old-fashioned floppy disk -- meaning the disk, /dev/sdb, does what you'd normally expect the partition to do. There's no /dev/sdb1, you must mount /dev/sdb!
When I encounter a flash drive laid out like that I usually fdisk and reformat it.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi I was trying to mount my USB flashdrive on solaris 10 and I am getting the message saying that (I have already gone through the previous blogs in the forum)
mount: Block device required.
I have tried most of the possible ways.
#rmformat(gives me the necessary information about my flash... (1 Reply)
Discussion started by: akhil1460
1 Replies
2. Solaris
Hello !
What is the comand to mount and usb hard disk ?
I have Solaris 10 installed!
10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies
3. UNIX for Dummies Questions & Answers
My previous post seems to be erased and I didn't get any help. I'm logged as root now but no mounting command seems to work, I've tried:
Mount -t vfat /dev/sdc1 /mnt/USB
Changing "sdc1" for hda1-7, and sdc1-7, and still nothing. Sometimes i get:
"special device not found" and others "device... (4 Replies)
Discussion started by: Dax01
4 Replies
4. Solaris
We need to mount an amazon S3 share on windows as well as Solaris servers.
Any help is appreciated.
Thanks in advance. (5 Replies)
Discussion started by: uxadmin007
5 Replies
5. Solaris
I am very new to Solaris.
The machine I am working with is running Solaris 10.
I have a 1.5 TB hard drive plugged into a USB dock plugged into the Solaris machine. I ran 'cfgadm -al' and can see that the usb0/1 is usb-storage that was not there before.
How do i mount this drive and format... (3 Replies)
Discussion started by: mcdef
3 Replies
6. AIX
Hi experts, recently i'm exploring USB with filesystem FAT32 mounting on my aix oslevel 6100-04-02-1007. I tried to google to get solutions but failed. Thus, i post it here hope to get solution. Appreciate :)
This is my usb drives: (5 Replies)
Discussion started by: polar
5 Replies
7. Ubuntu
Hi,
I would like to ask if someone knows and show/point me or simple help me how udev rules work in lucyd, upon my quest and search all the tuts i used is based on old udev since something i read the udev change in lucyd version.. I want to accomplised when i plug my usb 8Gb device and automount... (0 Replies)
Discussion started by: jao_madn
0 Replies
8. Shell Programming and Scripting
Hi All,
I need a simple udev rules in my server Centos 5.4. This rules needs to get trigger my script whenever the cdrom is attached to the server.
Could you please provide your suggestion on it.
Thanks,
Kalai (0 Replies)
Discussion started by: kalpeer
0 Replies
9. Programming
Hi all,
I'm developing a short program to look-up for all devices connected to the computer. Using udev and libusb libraries I achieved some progress but I can not find the way to find the mount point.
For instance, given a device that I can retrieve using libusb, I would like to know... (4 Replies)
Discussion started by: Carles Rabaneda
4 Replies
10. Shell Programming and Scripting
Hey all! :)
I'm trying to create a fixed mount point for an usb cardreader.
I've found a script on a raspberry pi forum which does the following:
usb stick is plugged in -> script checks the mount point for data -> script starts copying the files automatically -> script unmounts the... (0 Replies)
Discussion started by: Eomer
0 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)