11-09-2002
Quote:
Also, when I connect the linux drive my machine boots straight to Mandrake - no windows options. Should I disconnect the windows drives, run lilo and then work with bootmanager? What is the correct sequence please?
This would be the easiest way of doing things. As you say, boot into linux, configure lilo to see all OS'es and then reboot.
BTW what sequence do you have your OS'es? Are they win2k, XP, Linux?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies
2. UNIX for Dummies Questions & Answers
Actually, I'm going to be setting up my new hard drive to boot 3-4 OSes...so far I'm definite on Windows 2000 Advanced Server and FreeBSD 4.4, and I'm stuck between RedHat 7.2 and Mandrake 8.1 for my Linux choice...anyways....
I'm gonna be using boot.ini as the boot loader thing. I've already... (3 Replies)
Discussion started by: DownSouthMoe
3 Replies
3. UNIX for Dummies Questions & Answers
Hello guys,
I am new in Unix world.
I would like know, how Can I check which type of file system (GPFS, JFS) is on the AIX server. I have AIX 5.1.
Could you anyone advice me?
Thanks. (4 Replies)
Discussion started by: sokratis
4 Replies
4. SCO
hi
Where is file systems table stored, I mean which config file from SCO 5.0.6?
On linux is in /etc/fstab. (1 Reply)
Discussion started by: ccc
1 Replies
5. What is on Your Mind?
I have been wondering how do Systems Administrators do the jump into Systems Engineering? Is it only a matter of time and experience or could I actually help myself get there?
Opinions? Books I could read?
Thanks a lot for your help! (0 Replies)
Discussion started by: svalenciatech
0 Replies
6. Shell Programming and Scripting
I have to copy 3 file systems from one machine to another on the same local network.
Total data is about 150gb. There is not enough free space on the source system to tar the files and then copy.
I have to do this remotely, no tape or dvd
I need to maintain permissions and ownership.
I have... (2 Replies)
Discussion started by: jgt
2 Replies
7. SCO
Hello,
is there any command in SCO unix by which I can check if the file system is HTFS or DTFS?
Thanks (1 Reply)
Discussion started by: Mick
1 Replies
8. Shell Programming and Scripting
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Discussion started by: Finja
2 Replies
9. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
10. Programming
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Discussion started by: advorak
2 Replies
SD(4) Linux Programmer's Manual SD(4)
NAME
sd - driver for SCSI disk drives
SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */
#include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */
CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti-
tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive.
SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num-
ber is the number of the physical drive in order of detection, and partition_number is as follows:
partition 0 is the whole drive
partitions 1-4 are the DOS "primary" partitions
partitions 5-8 are the DOS "extended" (or "logical") partitions
For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have
major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system.
At this time, only block devices are provided. Raw devices have not yet been implemented.
DESCRIPTION
The following ioctls are provided:
HDIO_GETGEO
Returns the BIOS disk parameters in the following structure:
struct hd_geometry {
unsigned char heads;
unsigned char sectors;
unsigned short cylinders;
unsigned long start;
};
A pointer to this structure is passed as the ioctl(2) parameter.
The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical
geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of
fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters.
BLKGETSIZE
Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long.
BLKRRPART
Forces a reread of the SCSI disk partition tables. No parameter is needed.
The SCSI ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) will fail
with the error EINVAL.
FILES
/dev/sd[a-h]: the whole device
/dev/sd[a-h][0-8]: individual block partitions
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2012-05-03 SD(4)