Linux on /dev/hda1 && Win95 on /dev/hda3

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by Who needs to kno » Thu, 30 Oct 1997 04:00:00



I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
/dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
/dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
set /dev/hda3 as the active partition in fdisk. The type of the partition
is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by James X. Q » Thu, 30 Oct 1997 04:00:00




Quote:>I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
>/dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
>/dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
>set /dev/hda3 as the active partition in fdisk. The type of the partition
>is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

As far as my experience is concerned, Win/DOS like to be installed on a
primary partition.  If you use Linux to partition first, most likely
/dev/hda3 is not primary.  My suggestion is to partition with a Win/DOS fdisk
and make 3 partitions with the primary for Windows95.  And use Linux fdisk to
toggle the partition type for Linux native and swap.  My system is setup this
way, so I know it works.

James

--
-----------------------------------------------------------------------------
Masters Student, Center for Wireless Communications
Electrical and Computer Engineering, University of Waterloo
Office: DC3519, 519-885-1211 EXT. 3099, URL: http://bbcr.uwaterloo.ca/~xjqiu

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by Anyone for thermonuclear tenni » Thu, 30 Oct 1997 04:00:00


On Wed, 29 Oct 1997 00:42:16 -0800, a small green fish snuck into
Who needs to know's internet account in order to express the following:

Quote:> I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
> /dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
> /dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
> set /dev/hda3 as the active partition in fdisk. The type of the partition
> is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

I bet the W95 partition starts above one or another of the BIOS gotchas.
Either cyl. 1024 or 508 megs.  It seems that nothing likes that very much.

What I'd suggest is,

hda1     32 meg  Linux /        # More than enough to start the system
hda2     ?? meg  Linux swap     # Shouldn't need to be more than 64 meg
hda3    ??? meg  W95 C:         # It now starts around 96 meg
hda4    the rest Extended       # Split up into "logicals" hda5 etc.
 hda5   ??? meg  Linux /usr     # This can go anywhere
 hda6   ??? meg  Linux /home    # If you want a separate /home
 hda7    ?? meg  Linux /tmp     # (see /home)
 hda8    ?? meg  Linux /var     # (as above)

Now put lilo on /dev/hda as the MBR and it should all run fine.

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by Roy Stogn » Thu, 30 Oct 1997 04:00:00



>I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
>/dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
>/dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
>set /dev/hda3 as the active partition in fdisk. The type of the partition
>is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

This is almost exactly the way my HDD is partitioned (I also have Linux
/usr, etc. on separate partitions hda5+.

Do you have the "MSDOS compatibility" still on in fdisk?  Is the bootable
flag toggled on /dev/hda3?  What does 'p'rint partition table look like in
fdisk?
---
Roy Stogner

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by John D. Goulde » Thu, 30 Oct 1997 04:00:00


I have never had much luck getting '95 to install on anything but the first
partition on a hard drive. I do know that '95 on hda1, linux and swap on
hda2 and hda3 works out pretty well.

Quote:> I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
> /dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95
on
> /dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
> set /dev/hda3 as the active partition in fdisk. The type of the partition
> is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

--
John D. Goulden

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by M VAN OOSTERHOU » Fri, 31 Oct 1997 04:00:00



Quote:

> I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
> /dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
> /dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
> set /dev/hda3 as the active partition in fdisk. The type of the partition
> is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

I saw someone who setup their computer with some kind of hidden DOS
partition so Win95 thought that it was the first valid partition on the
disk. I have no idea how it works though.

Martijn
Australia
I

 
 
 

Linux on /dev/hda1 && Win95 on /dev/hda3

Post by maca.. » Sun, 02 Nov 1997 04:00:00




Quote:> I have partitioned my 2Gig HD into 3. I have Linux and linux swap on
> /dev/hda1 and /dev/hda2 respectively. But when I tried to install Win95 on
> /dev/hda3 it seems to freeze after I say yes to the M$ agreement. I did
> set /dev/hda3 as the active partition in fdisk. The type of the partition
> is 6 (under linux fdisk types) i.e FAT >= 32M. Any clues. Thanks

I have this.  A 2.5 G drive, /dev/hda1 Linux, /dev/hda2 Swap,
/dev/hda3 Win95, /dev/hda4 Linux.  Works just fine.  In
fact, I just installed Win95 a couple of days ago. (Don't ask)

             Heads: 128   Sectors per Track: 63   Cylinders: 624

    Name        Flags     Part Type      FS Type                  Size (MB)
 --------------------------------------------------------------------------
    /dev/hda1   Boot      Primary        Linux                      1011.94
    /dev/hda3             Primary        DOS 16-bit >=32Mb           681.19
    /dev/hda2             Primary        Linux Swap                   63.00
    /dev/hda4             Primary        Linux                       700.88

Perhaps your BIOS is non-EIDE and the disk is too large?  Do you use
any funky disk geometry progs?

Note that the device numbers do not reflect the physical partition
'ordering' on the disk. (The above cfdisk output is the physical order).  
I have not violated the 1024 cylinder limit, but I am clearly over the
528 meg mark.

Why do you suspect that the failure of the Windows 95 installation
program is related to your partition scheme?

 
 
 

1. /dev/hda1 = /dev/hda3?

The usual remarks about being an ignorant newbie, etc.

I have Linux (RH 5.1) installed using 3 partitions (all of) my first hard
disk and one partition on my second hard disk.  Originally, at least, it
was set up so that / was mounted on /dev/hda1 and /usr/local was
mounted on /dev/hda3.  To make a long story short, I installed Solaris x86
on a second partition on disk 2 and, er, did some experimenting, with the
result that I was unable to boot Linux, though I'm not entirely sure why
it happened. After various acts of desperation I just went through the
RedHat 'update' option on the installation CDROM, which I guess just
created a new lilo.conf file, and now everything is back to normal, with
one strange exception.  Here's what fdisk /dev/hda gives:

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1            1        1      609  1227712+  83  Linux native
/dev/hda2          610      610      626    34272   82  Linux swap
/dev/hda3          627      627     1023   800352   83  Linux native

This is as things were before.  However, for other purposes, the first
partition is now called "/dev/hda3" and the third partition is called
"/dev/hda1".  /etc/lilo.conf reads:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.34-0.6
        label=linux
        root=/dev/hda3
        read-only

(I tried editing lilo.conf so that "/root=/dev/hda3" was replaced by
"/root=/dev/hda1", but that just caused the system to be unable to start,
I think the message was something about being unable to start a console.)

Here's what /etc/fstab says, as far as /dev/hda is concerned:
/dev/hda1    /usr/local              ext2    defaults        1 1
/dev/hda3    /                       ext2    defaults        1 1
/dev/hda2    swap                    swap    defaults        0 0

Here's what /etc/mtab says, as far as /dev/hda is concerned:
/dev/hda3 /
/dev/hda1 /usr/local ext2 rw 0 0

Question:  why is the first partition being called "/dev/hda3" and the
third partition being called "/dev/hda1" (but not by fdisk)?  Is there a
way to safely fix this?

Thanks.

RF

2. Adding IDE drive to OSR5.0.5

3. /dev/sr && /dev/sg

4. VNC into Linux server

5. HELP: 2>&1 > /dev/null != 2>&- > /dev/null ???

6. Should I 486/66dx2 --

7. rsh machine -n 'command >&/dev/null </dev/null &'

8. Help! cannot remove Linux partitions!

9. copy linux from /dev/hda1 to /dev/hdb1

10. cp /dev/hda1 /dev/hbb1 to clone linux system?

11. LILO, DOS on /dev/hda1, LINUX /dev/hdb1

12. accessing /dev/hda3 files from /dev/hda2 -- help!

13. 1.2.13 & win95 & /dev/lp0...