Sponsored Content
Special Forums Hardware Boot Loaders How to install grub on USB flash drive? Post 302463140 by vistastar on Friday 15th of October 2010 11:06:05 PM
Old 10-16-2010
I tried this, it says "Error 1: Cannot mount selected partition"

I think may be there are some hiden partition on my flash drive. In addition, the file system on my flash drive is FAT32. And I also tried formatting it as FAT, but it make no difference.

Code:
grub> root (hd1,0)
root (hd1,0)

Error 18: Selected cylinder exceeds maximum supported by BIOS
grub> root (hd1,1)
root (hd1,1)

Error 18: Selected cylinder exceeds maximum supported by BIOS
grub> root (hd1,2)
root (hd1,2)

Error 18: Selected cylinder exceeds maximum supported by BIOS
grub> root (hd1,3)
root (hd1,3)

Error 18: Selected cylinder exceeds maximum supported by BIOS

Code:
grub> geometry (hd1)
geometry (hd1)
drive 0x81: C/H/S = 1019/60/62, The number of sectors = 3792896, /dev/sdb
   Partition num: 0, 
Error 18: Selected cylinder exceeds maximum supported by BIOS
   Partition num: 1, 
Error 18: Selected cylinder exceeds maximum supported by BIOS
   Partition num: 2, 
Error 18: Selected cylinder exceeds maximum supported by BIOS
   Partition num: 3, 
Error 18: Selected cylinder exceeds maximum supported by BIOS

Code:
[root@fedora/home/alien]:)fdisk -l /dev/sdb

Disk /dev/sdb: 1941 MB, 1941962752 bytes
60 heads, 62 sectors/track, 1019 cylinders
Units = cylinders of 3720 * 512 = 1904640 bytes
Disk identifier: 0x6f20736b

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?      209177      516034   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(209176, 19, 11)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(516033, 44, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?       45347      565785   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(45346, 38, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(565784, 20, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?      502657     1023094   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(502656, 18, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(1023093, 59, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdb4   ?      775721      775736       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(775720, 44, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(775735, 39, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

I don't think it is a matter of real BIOS or not,because I had successfully installed grub on a kingston flash drive before. But it lost.
I just used the command: grub-install.

Last edited by vistastar; 10-16-2010 at 12:15 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies

2. UNIX for Dummies Questions & Answers

USB flash drive is not mounting what to do...?

hello forum.. i am using RHEL 4.0 and my system is dual boot.normally the usb flash drive should be auto mount , but in my system i am unable to mount the drive plz help... i am a new user so plz give me in detail. thank u in advance. (5 Replies)
Discussion started by: manoranjan
5 Replies

3. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

4. UNIX for Dummies Questions & Answers

Does HPUX 10.2 or 11.i support any USB flash drive?

Where can I get a driver that support usb flash drives for my unix machines. I need a solution to transfer data easily for techs. I am running C3750 and c8000 HP equipment. Or is there a way to mount them and use them without adding drivers? thanks! (0 Replies)
Discussion started by: jkend12
0 Replies

5. Solaris

removable usb flash drive

# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t0d0p0 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW GWA4164B E113 Device Type: DVD Reader/Writer 2. Logical Node: /dev/rdsk/c2t0d0p0 Physical Node:... (26 Replies)
Discussion started by: seyiisq
26 Replies

6. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

7. UNIX for Dummies Questions & Answers

SCO 5.0.5 & USB flash drive

Can someone help me with instructions on how to access a USB flash drive in SCO Unix 5.0.5? I need to copy ASCII text files that have been zipped onto the USB drive for transfer to a Windows computer. (0 Replies)
Discussion started by: jlodata
0 Replies

8. Solaris

Installing Solaris 10 x86 from USB flash drive

Dear friends, I have the DVD image of solaris 10 but I don't have DVD writer to burn it onto a dvd R. I was wondering if I could install Solaris from my 4gb usb flash drive as my PC supports booting from usb. I have installed Windows 7 this way recently, I have no idea about Solaris. Could you... (2 Replies)
Discussion started by: gabam
2 Replies

9. UNIX for Advanced & Expert Users

how to increase cylinders on USB Flash Drive

Hello All, I faced a unique issue. I have written a script for transferring backup data on my host machine to a USB Flash drive. The Flash drive must be of 16GB size. So, my script creates two primary partitionon the USB flash drive. I require approx 5900 cylinders for the first partition on... (8 Replies)
Discussion started by: Pkumar Sachin
8 Replies

10. Linux

Repeated corruption running linux on USB flash drive

I have a HP Proliant N40L server and in the internal USB socket I have a 16GB HP v195b flash drive on which I have a full copy of Debian installed from a copy of the DVD1 ISO image. In as far as installation and operation goes my setup works okay, but I keep experiencing corruption of the file... (0 Replies)
Discussion started by: mij
0 Replies
disktab(4)						     Kernel Interfaces Manual							disktab(4)

NAME
disktab - Disk description file SYNOPSIS
#include <sys/disklabel.h> DESCRIPTION
The disktab database describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk. The format is patterned after the termcap terminal database. Entries in a disktab file consist of a number of : (colon) separated fields. The first entry for each disk gives the names which are known for the disk, separated by | (vertical bar) characters. The last name given should be a long name fully identifying the disk. The following list indicates the normal values stored for each disk entry: Type Description str Type of disk (for example, removable, win- chester) str Type of controller (for example, SMD, ESDI, floppy) num Number of sectors per track num Number of tracks per cylinder num Total number of cylinders on the disk num Number of sectors per cylinder, nc*nt default num Number of sectors per unit, sc*nc default num Sector size in bytes, DEV_BSIZE default bool Controller supports bad144-style bad sector forwarding num Rotation speed, rpm, default 3600 num Sector skew per track, default 0 num Sector skew per cylinder, default 0 num Headswitch time, usec, default 0 num One-cylinder seek time, usec, default 0 num Sector interleave (n:1), default 1 num Drive-type-dependent parameters num Boot block size, default BBSIZE num Superblock size, default SBSIZE num Block size for partition `a' (bytes) num Block size for partition `d' (bytes) num Block size for partition `e' (bytes) num Block size for partition `f' (bytes) num Block size for partition `g' (bytes) num Block size for partition `h' (bytes) num Fragment size for partition `a' (bytes) num Fragment size for partition `d' (bytes) num Fragment size for partition `e' (bytes) num Fragment size for partition `f' (bytes) num Fragment size for partition `g' (bytes) num Fragment size for partition `h' (bytes) num Offset of partition `a' in sectors num Offset of partition `b' in sectors num Offset of partition `c' in sectors num Offset of partition `d' in sectors num Offset of partition `e' in sectors num Offset of partition `f' in sectors num Offset of partition `g' in sectors num Offset of partition `h' in sectors num Size of partition `a' in sectors num Size of partition `b' in sectors num Size of partition `c' in sectors num Size of partition `d' in sectors num Size of partition `e' in sectors num Size of partition `f' in sectors num Size of partition `g' in sectors num Size of partition `h' in sectors str Partition type of partition `a' (4.2BSD file system, swap, etc.) str Partition type of partition `b' str Partition type of partition `c' str Parti- tion type of partition `d' str Partition type of partition `e' str Partition type of partition `f' str Partition type of partition `g' str Partition type of partition `h' EXAMPLES
The following is an example disktab entry: rz25|RZ25|DEC RZ25 Winchester: :ty=winchester:dt=SCSI:ns#62:nt#9:nc#1492: :oa#0:pa#131072:ba#8192:fa#1024: :ob#131072:pb#262144:bb#8192:fb#1024: :oc#0:pc#832527:bc#8192:fc#1024: :od#393216:pd#146437:bd#8192:fd#1024: :oe#539656:pe#146437:be#8192:fe#1024: :of#686096:pf#146437:bf#8192:ff#1024: :og#393216:pg#439311:bg#8192:fg#1024: :oh#0:ph#0:bh#8192:fh#1024: FILES
/etc/disktab RELATED INFORMATION
Functions: getdiskbyname(3) Files: disklabel(4) Commands: disklabel(8), newfs(8) delim off disktab(4)
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy