Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Need to install red hat linux on existing windows vista OS as dual boot Post 302273588 by woofie on Monday 5th of January 2009 08:59:14 AM
Old 01-05-2009
Partition table would be very helpful.

Also keep in mind you can't have more than 4 primary partitions, some vendor PC's (Dell etc) have a hidden primary partition as well.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dual boot Red Hat and 2000

Hi, I'm trying to set up a dual boot with Win2000 and Red Hat. I installed Win 2000 first a partitioned 2 separate drives. When I start the Red Hat install with Disk Druid, it sees my partitioned drives, but won't let me install Red Hat. What is my issue? (4 Replies)
Discussion started by: jensam
4 Replies

2. Filesystems, Disks and Memory

Red Hat Linux Boot Problems

Hi. I have an 81 gig hard drive and split it up into 2 partitions. One for linux and the other for windows. I had my windows up and running and it was doing fine. Then i started my linux. I go Red Hat Linux out and installed it on the partition. This all worked out well. However, when i rebooted... (10 Replies)
Discussion started by: vertigo
10 Replies

3. UNIX for Dummies Questions & Answers

install linux from cd, for dual boot w/98

I am a new user w/Linux-Unix, i want to know were i have to start first, install linux first or win 98 first, i have a 30-gig harddrive on my home pc , do i have enough space to run linux and 98 w/dual booting (10 Replies)
Discussion started by: joe barone
10 Replies

4. UNIX for Dummies Questions & Answers

red hat linux installation boot floppy disk

Hi, My dear friends, I am trying to install red hat linux. I have downloaded its disc1. On the instructions page, the next stage is to make the boot disk, so that I can boot from the floppy. However, I am unable to locate the boot image iso file. I tried on google, but I got a few files which... (3 Replies)
Discussion started by: linuxpenguin
3 Replies

5. UNIX for Advanced & Expert Users

windows -linux dual boot............

I am trying to implement a dual boot on my laptop ... using a small xp partition and fedora core 269.1-fc2 i686 linux kernel.. so far I have had to log off and reboot to enter the other partition... but this is getting frustrating.. windows is on /dev/hda1 and 1-5 is on the linux partition. I have... (8 Replies)
Discussion started by: moxxx68
8 Replies

6. Linux

How to remove Red Hat 4 OS from dual boot

Hi Xperts out there Previously i have Vista Standard installed in my notebook. Then i have installed Red Hat 4 and currently my notebook are dual boot OS. Now i'm thinking to remove all my Red Hat 4 out. So how to achive this without risking my Vista Standard. :D (5 Replies)
Discussion started by: adzuanamir
5 Replies

7. Solaris

Windows,Solaris, Red Hat triple boot issues

I have a pentium IV with 512 MB ram and 80 GB HDD. I first installed windows XP on the first primary partition, then Solaris on the second with 20 GB for the solaris partition, and when rebooted , the grub menu functioned as expected giving me the options to dual boot, so next I wanted to install... (3 Replies)
Discussion started by: saagar
3 Replies

8. Red Hat

Buffer I/O error in red hat linux boot up

I get error message when boot up red hat linux Buffer I/O error on device hdc ,logical block XX ... /dev/hdc:read failed after 0 of 2048 at 0 : input/output error ..... I paste the /etc/fstab file in here /dev/hdc is cdrom How can I fix it Please advice # cat /etc/fstab # This file... (3 Replies)
Discussion started by: chuikingman
3 Replies

9. Red Hat

Step to Install Red Hat Linux

Hi, I need to install red hat Linux 9 with hardware raid 0. kindly share steps to carry out the same. Rgds Deljatt (8 Replies)
Discussion started by: deljatt
8 Replies
dkio(4) 						     Kernel Interfaces Manual							   dkio(4)

Name
       dkio - disk interface

Syntax
       #include <sys/fs.h>
       #include <sys/ioctl.h>

Description
       This  section  describes  the ioctl (input/output controller) codes for all disk drivers.  The basic ioctl (input/output controller) format
       is:

       #include <sys/fs.h>
       #include <sys/ioctl.h>
       ioctl(fildes, code, arg)
       struct pt *arg;

       The applicable codes are:

       DIOCGETPT       Indicates to the driver to store the information in the current partition table in the address pointed to by arg.  The file
		       descriptor must be opened on the raw partitions, a or c.

		       DIOCGETPT does not change the partition table, but it does provide access to the partition table information.

       DIOCSETPT       Indicates to the driver to modify the current partition table with the information pointed to by arg.

		       The file descriptor must be opened on the raw partitions, a or c.

		       If  the a or c partition is not mounted, only the partition table in the driver is modified.  This temporarily modifies the
		       partition table of the disk.  The modifications are overwritten with the default table when the disk is turned off and on.

		       If the a or c partition is mounted, both the partition table  in  the  driver  and  the	partition  table  in  the  primary
		       superblock are modified.  This permanently modifies the partition table of the disk.  This is not recommended.  To change a
		       partition table permanently, use the command.

       DIOCDGTPT       Indicates to the driver to store the default information of the current partition table in the address pointed to  by  arg.
		       The file descriptor must be opened on the raw partitions a or c.

		       DIOCGETPT does not change the partition table, but it does provide access to the partition table information.

       DKIOCGET        Allows the user to receive generic disk information as defined in structdevget.

       DKIOCACC        This code is defined in It is currently unused.

Restrictions
       These restrictions apply when using the DIOCSETPT ioctl code:

       o   You must have superuser privileges.

       o   You	cannot	shrink	or change the offset of a partition with a file system mounted on it or with an open file descriptor on the entire
	   partition.

       o   You cannot change the offset of the a partition.

Examples
       This example shows how to use the DIOGETPT ioctl code to print the length and offset of the a partition of an RZ23 disk:
       #include <sys/types.h>
       #include <sys/param.h>
       #include <sys/fs.h>
       #include <sys/ioctl.h>

       main()
       {
	    struct pt arg;
	    int fd, i;

	    /* Open the "a" partition of the disk you want to see */

	    if ( (fd = open("/dev/rz0a",0)) < 0 ) {
		 printf("Unable to open device
");
		 exit(2);
	    }

	    /* Get the partition information */

	    if ( ioctl(fd,DIOCGETPT,&arg) < 0 )
		 printf("Error in ioctl
");

	    printf("Length		Offset
");

	    for ( i = 0; i <= 7; i++ ) {
		 printf("%d		%d
",arg.pt_part[i].pi_nblocks,
			     arg.pt_part[i].pi_blkoff );
	    }
       }

Files
See Also
       rz(4), disktab(5), fstab(5), chpt(8), diskpart(8), fsck(8), MAKEDEV(8), mkfs(8), tunefs(8)

								       RISC								   dkio(4)
All times are GMT -4. The time now is 07:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy