All of lore.kernel.org
 help / color / mirror / Atom feed
* Dual Boot
@ 1999-04-01 18:12 William Bradley
  1999-04-01 18:20 ` Matthew Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: William Bradley @ 1999-04-01 18:12 UTC (permalink / raw)
  To: ultralinux

Is it possible to setup dual boot for Solaris and Linux with two
drives?  The Sun page gives instructions but only mentions partitioning
one drive.
Has anyone messed with this?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Dual Boot
  1999-04-01 18:12 Dual Boot William Bradley
@ 1999-04-01 18:20 ` Matthew Jacob
  1999-04-01 19:10 ` David Andrew - Sun MDE
  1999-04-03 15:15 ` G.M.Sigut
  2 siblings, 0 replies; 9+ messages in thread
From: Matthew Jacob @ 1999-04-01 18:20 UTC (permalink / raw)
  To: ultralinux

On Thu, 1 Apr 1999, William Bradley wrote:

> Is it possible to setup dual boot for Solaris and Linux with two
> drives?  The Sun page gives instructions but only mentions partitioning
> one drive.
> Has anyone messed with this?

It works fine for me


ok boot disk3 2.2.5^M
Boot device: /pci@1f,4000/scsi@3/disk@3,0  File and args: 2.2.5^M
SILO ^M
Uncompressing image...^M
\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^
H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|
^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H
\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^
H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|
^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H
\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^
H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H^M
Booting Linux...^M
PROMLIB: Sun IEEE Boot Prom 3.9.5 1997/04/11 10:03^M
Linux version 2.2.5 (mjacob@slinx.feral.com) (gcc version egcs-2.92.11
19980921
(gcc2 ss-980609 experimental)) #8 Wed Mar 31 10:56:26 PST 1999^M
ARCH: SUN4U^M
Ethernet address: 08:00:20:82:62:f3^M
Calibrating delay loop... 591.46 BogoMIPS^M
Memory: 191528k available (1240k kernel code, 2888k data, 112k init)
[fffff80000
000000,fffff80023f32000]^M
POSIX conformance testing by UNIFIX^M
PCI: Probing for controllers.^M
PCI: Found PSYCHO version 0x3, main regs at fffff9fe00000000^M
PSYCHO: PCI config space at fffff9fe01000000^M

....


k boot disk0 /platform/sun4u/kadb -v^M
Boot device: disk0:a  File and args: /platform/sun4u/kadb -v^M
|^HSize: 158838+/^H-^H\^H|^H/^H240295+-^H\^H|^H/^H-^H\^H|^H184857 Bytes^M
kadb: kernel/sparcv9/unix^M
/^HSize:
-^H\^H|^H/^H-^H\^H|^H446164+/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H1
15040+\^H|^H/^H-^H159224 Bytes^M
\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H/platform/sun4u/kernel/sparcv9/unix
loaded - 0x
f8000 bytes used^M
-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^
H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\
^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^Hcpu0:
SUNW,UltraSPARC
-II (upaid 0 impl 0x11 ver 0x11 clock 296 MHz)^M
^MSunOS Release 5.7 Version Generic 64-bit [UNIX(R) System V Release
4.0]^M
Copyright (c) 1983-1998, Sun Microsystems, Inc.^M
DEBUG enabled^M
\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^Hobpsym:
symbolic
debugging is available.^M
|^H/^H-^H\^H|^HRead 141852 bytes from misc/forthdebug^M
/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^
H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-
^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H
/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^Hmem = 195616K (0xbf08000)^M
avail mem = 172449792^M
Ethernet address = 8:0:20:82:62:f3^M
root nexus = Sun Ultra 30 UPA/PCI (UltraSPARC-II 296MHz)^M
pci0 at root: UPA 0x1f 0x4000^M
pci0 is /pci@1f,4000^M
pci1 at root: UPA 0x1f 0x2000^M
pci1 is /pci@1f,2000^M
/pci@1f,4000/scsi@3 (glm0):^M^M
        Rev. 3 Symbios 53c875 found.^M^M^M

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Dual Boot
  1999-04-01 18:12 Dual Boot William Bradley
  1999-04-01 18:20 ` Matthew Jacob
@ 1999-04-01 19:10 ` David Andrew - Sun MDE
  1999-04-03 15:15 ` G.M.Sigut
  2 siblings, 0 replies; 9+ messages in thread
From: David Andrew - Sun MDE @ 1999-04-01 19:10 UTC (permalink / raw)
  To: ultralinux

William,

The dual boot instructions are on that site because it is a little more 
complicated to set up a single disk for dual boot.  It is primarily directed to 
the Ultra5 which only has one disk. In fact, the disk druid provided in 
UltraPenguin shows you all the disks and existing partitions and gives you the 
flexibility to put bootable OS's wherever you want to.  The dual boot 
instructions discuss how to specify which partition you want to boot from; using 
separate disks has generally been the easiest way to provide multiple boot 
options.

David
------

> Date: Thu, 01 Apr 1999 18:12:28 +0000
> From: William Bradley <wmbradle@samford.edu>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Ultalinux <ultralinux@vger.rutgers.edu>
> Subject: Dual Boot
> Content-Transfer-Encoding: 7bit
> X-Loop: majordomo@vger.rutgers.edu
> X-Orcpt: rfc822;ultralinux-outgoing
> 
> Is it possible to setup dual boot for Solaris and Linux with two
> drives?  The Sun page gives instructions but only mentions partitioning
> one drive.
> Has anyone messed with this?

David Andrew                Tel:  781-442-2316   Internal:   22316
Market Development Engineer - I/O Technologies   FAX:  781-442-1520	
Sun Microsystems, 1 Network Drive - M/S UBUR01-203,   Burlington, MA 01803	 
e-mail:  david.andrew@sun.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Dual Boot
  1999-04-01 18:12 Dual Boot William Bradley
  1999-04-01 18:20 ` Matthew Jacob
  1999-04-01 19:10 ` David Andrew - Sun MDE
@ 1999-04-03 15:15 ` G.M.Sigut
  2 siblings, 0 replies; 9+ messages in thread
From: G.M.Sigut @ 1999-04-03 15:15 UTC (permalink / raw)
  To: ultralinux

> Date: Thu, 01 Apr 1999 18:12:28 +0000
> From: William Bradley <wmbradle@samford.edu>
> To: Ultralinux <ultralinux@vger.rutgers.edu>

> Is it possible to setup dual boot for Solaris and Linux with two
> drives?  The Sun page gives instructions but only mentions partitioning
> one drive.

As Matthew and David said, it's no problem. The Sun page will also
give you the description for one disk and booting from the monitor
mode using aliases. If you want to make a dual boot from a single
disk using SILO, you will have to read the following description.
It's a hack and it does NOT work using root directories on separate
disks. I sent it to Jakub and another guy who was interested in it
on the 24.Mar.'99, but haven't heard anything from them yet. So, here
we go:

----- Begin Included Message -----

...

it might interest you, that I managed to hack SILO 0.8.5 in such
a way, that I can use it for booting Solaris as well as UltraPenguin.
The work is based on up-1.1.9.iso CD-ROM from Feb 23 19:20 as found
at ftp://sunsite.mff.cuni.cz in the directory
OS/Linux/Non-x86/Sparc/ultrapenguin-devel/cdimages/
Following changes were necessary:

.../silo-0.8.5/second/

# diff file.c.orig file.c
643c643
<             if (ufs_namei (fs, root, cwd, "ufsboot", &sinode)) {
---
>             if (ufs_namei (fs, root, cwd, "/ufsboot", &sinode)) {
#

# diff main.c.orig main.c
862a863,878
> if (solaris) {
>     int i;
>     unsigned long sa = (unsigned long)&_start;
>
>     for (i = 0; i < hp.f->e_phnum; i++, p++) {
>         if (p->p_vaddr < 0x4000 + image_len || p->p_vaddr + p->p_memsz >= sa) {
>             fatal("Unable to handle your Solaris `ufsboot' bootloader.");
>             prom_halt ();
>         }
>         memcpy ((Elf64_Addr *)(p->p_vaddr), (Elf64_Addr *)(0x4000 + p->p_offset), p->p_filesz);
>         if (p->p_filesz < p->p_memsz)
>             memset ((Elf64_Addr *)(p->p_vaddr + p->p_filesz), 0, p->p_memsz - p->p_filesz);
>     }
>     isfile = 1;
>     ret_offset = hp.f->e_entry;
> } else {
882a899
> }
#

Told in a few words: There is a problem with missing/additional "/"
at the beginning of a file-path and there is some code missing in
the ELF64 area. (I took out some leading blanks to fit the main.c
text in, but I still suppose that it will get mangled in the transit.
Apart from a few casts it corresponds to the code in ELF32 area.)

The configuration file looks as follows:

# cat /etc/silo.conf
timeoutP
partition=2
root=/dev/sda2
image=/boot/vmlinux-2.2.2.gz
        label=linux
        initrd=/boot/initrd-2.2.2.img
        read-only
image=1//platform/sun4u/kernel/unix
        label=solaris
        solaris
#

Note again the double-slash in Solaris "image" line - NOT necessary
if you type at prompt!

The disk is organised so, that the first partition (128MB) is Solaris
"/", second partition (128MB) is UltraPenguin "/".

UltraPenguin installation was done after Solaris with
"bootloader: MasterBootRecord (/dev/sda)".

Under Solaris the file /platform/sun4u/ufsboot was copied to "/".

The machine is Sun Ultra 60 Creator 3D, 128MB, 2*9GB, 360 MHz.
Solaris is Solaris 7.

Hmm. I suppose that's all.

Perhaps once more: It's a hack. I don't really understand the "problem
of missing slash" and the compiler is warning me about the casts. But
it's working.  :-)

...

----- End Included Message -----

Regards,  George

 ------------------------------------------------------------------------------
 George M.Sigut,  ETH Informatikdienste, Anwenderunterstuetzung, CH-8092 Zurich
 Swiss Federal Institute of Technology,    Computing Services,     User Support
 email: sigut@awu.id.ethz.ch     Phone: +41 1 632 5763      Fax: +41 1 632 1312
 >>>>>>>> if my regular address does not work, try "sigut@pop.agri.ch" <<<<<<<<
 ------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Dual Boot
  2000-12-31  4:16 [parisc-linux] xchg/cmpxchg defined in wrong place? R P Herrold
@ 2001-01-02  0:09 ` Grant Grundler
  0 siblings, 0 replies; 9+ messages in thread
From: Grant Grundler @ 2001-01-02  0:09 UTC (permalink / raw)
  To: R P Herrold; +Cc: parisc-linux

R P Herrold wrote:
...
> I'm going to try spinning up a G50, and sniffing at a K220 for
> parisc linux ... 735/125 on the way in ... I'd like to leave
> HP-UX on the K220 and 'dual boot' -- but it is such a pain to
> hook a console up -- Any thoughts on an OS/2 style Boot
> Manager leaving 'next boot' semaphore flags behind ...

It's hard to hook up a serial console on K220?!

Under HPUX, "setboot" command can set the primary boot path
so it can reboot from any disk/lan you want. You would have to
write a similar program for parisc-linux to poke stuff into NVRAM.
It might be a PDC call to do it; I don't know. But it's doable.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

^ permalink raw reply	[flat|nested] 9+ messages in thread

* dual boot
@ 2003-07-17 15:34 Anna G. Zapata
  2003-07-17 15:54 ` James Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Anna G. Zapata @ 2003-07-17 15:34 UTC (permalink / raw)
  To: Linux-Newbie

Hello all,

I would like to install RH 8.0 on my W2K laptop (a dual boot).  I entered
the installation program without a problem and finally came upon the
partioning section of the setup.  I clicked to use an automatic partition
and clicked next.  I was told that there wasn't enough disk space, but I
know that I have a little over 2G on the drive.  Does anyone have any
suggestions as to what I'm doing wrong?

Thanks.

Anna G. Zapata - GSEC, MCIS
University of Denver
University Technology Services - Network Security
(303) 871-2009 (phone)
(303) 871-4135 (fax)
azapata@du.edu (email)


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dual boot
  2003-07-17 15:34 dual boot Anna G. Zapata
@ 2003-07-17 15:54 ` James Miller
  2003-07-17 18:30 ` Frank Roberts - SOTL
  2003-07-17 18:57 ` Ray Olszewski
  2 siblings, 0 replies; 9+ messages in thread
From: James Miller @ 2003-07-17 15:54 UTC (permalink / raw)
  To: Linux-Newbie

On Thu, 17 Jul 2003, Anna G. Zapata wrote:
>
> I would like to install RH 8.0 on my W2K laptop (a dual boot).  I entered
> the installation program without a problem and finally came upon the
> partioning section of the setup.  I clicked to use an automatic partition
> and clicked next.  I was told that there wasn't enough disk space, but I
> know that I have a little over 2G on the drive.  Does anyone have any
> suggestions as to what I'm doing wrong?
>
I don't know RH 8's setup routine, but I would guess that it would either:
1) expect to find an already-formatted (ext2, ext3, reiserfs) Linux
partition on your system (and maybe an already-created swap partition as
well); or 2) would expect to find some free space on the drive (space not
yet allocated for another OS).  A third possibility, and one I see Knoppix
includes in their latest release, is that the install routine would offer
to resize an existing partition to make space for the installation.  Not
knowing RH 8, I can't say with which of these you may have been confronted
- if any.  But your description seems to indicate that maybe you've
alloted the whole of your laptop's drive space to W2K.  If you have, and
if RH 8 comes with no disk resizing capability, then it would most likely
indicate that there was no space on the disk for the install.  If that's
the case, until you free up some space for a Linux partition, you won't be
able to install Linux.

Caveat to that last statement: you can run Linux from a DOS/Win filesystem
(as long as it's not NTFS, IIRC) using certain distros - I think WinLinux
is the name of one such distro.  I doubt RH can do this though.  There are
certain performance hits in using this approach, as I understand it.  So,
you need not necessarily resize/repartition your disk to run certain types
of Linux.

James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dual boot
  2003-07-17 15:34 dual boot Anna G. Zapata
  2003-07-17 15:54 ` James Miller
@ 2003-07-17 18:30 ` Frank Roberts - SOTL
  2003-07-17 18:57 ` Ray Olszewski
  2 siblings, 0 replies; 9+ messages in thread
From: Frank Roberts - SOTL @ 2003-07-17 18:30 UTC (permalink / raw)
  To: Anna G. Zapata, Linux-Newbie

Nothing
 
You don't have large enough HD for a dual boot and data.

On my laptop I have a 50 GB partitioned as follows.
hda1 10 GB Windows XP
hda2  20 GB Common Data
hda3 100 Mb  Linux /boot
hda4  10 GB   Linux /
hda5   10 GB  Linux /home

Point is I am not sure I have enough HD if I attempt to edit or record 
realtime data.

Frank

On Thursday 17 July 2003 11:34, Anna G. Zapata wrote:
> Hello all,
>
> I would like to install RH 8.0 on my W2K laptop (a dual boot).  I entered
> the installation program without a problem and finally came upon the
> partioning section of the setup.  I clicked to use an automatic partition
> and clicked next.  I was told that there wasn't enough disk space, but I
> know that I have a little over 2G on the drive.  Does anyone have any
> suggestions as to what I'm doing wrong?
>
> Thanks.
>
> Anna G. Zapata - GSEC, MCIS
> University of Denver
> University Technology Services - Network Security
> (303) 871-2009 (phone)
> (303) 871-4135 (fax)
> azapata@du.edu (email)
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dual boot
  2003-07-17 15:34 dual boot Anna G. Zapata
  2003-07-17 15:54 ` James Miller
  2003-07-17 18:30 ` Frank Roberts - SOTL
@ 2003-07-17 18:57 ` Ray Olszewski
  2 siblings, 0 replies; 9+ messages in thread
From: Ray Olszewski @ 2003-07-17 18:57 UTC (permalink / raw)
  To: Linux-Newbie

At 09:34 AM 7/17/2003 -0600, Anna G. Zapata wrote:
>Hello all,
>
>I would like to install RH 8.0 on my W2K laptop (a dual boot).  I entered
>the installation program without a problem and finally came upon the
>partioning section of the setup.  I clicked to use an automatic partition
>and clicked next.  I was told that there wasn't enough disk space, but I
>know that I have a little over 2G on the drive.  Does anyone have any
>suggestions as to what I'm doing wrong?


Others have offered some guesses about what your problem might be. No one 
can do mroe than guess, however, because " I have a little over 2G on the 
drive" is not very clear. Are you referring to the size of the drive, the 
unused space in a Windows partition, or the unused space not currently in 
any partition? If the first, your situation is probably hopeless. If the 
second, you will need to do some work, or switch to a different distro (as 
someone else suggested). If the third, then I'm surprised that you are 
having problems.

Offhand, I do not know how much space RH 8.0 requires to install, but I 
would expect 2 GB to be enough for a basic install (I can install a minimal 
Debian in about 200 MB, for example). If RH needs more space than that, 
shame on Red Hat ... it is using an awfully demanding and inflexible 
installer. But you do need the 2 GB in the form of unpartitioned space, so 
the RH installer can create an ext2 partition (and probably a swap 
partition too, unless your laptop has unusually generous RAM) for Linux to use.

RH used to ship with a partition resizer, an app that allowed you to make 
an existing (Windows, usually) partition smaller to make room for a Linux 
(ext2) partition. You might see if whatever version of RH you have offers 
this capability (I think it was called Partition Magic or something similar 
to that).

Even if you get RH to install on this system, you are likely to be limited 
in what it will be able to do. I'm not sure what Frank means by "realtime 
data", but certainly some data (e.g., mpeg or DivX video) is sufficiently 
demanding of disk space that a 2 GB partition would be woefully inadequate 
(for perspective, the system that I store edited video on has about 450 GB 
of storage). Still, 2 GB should be enough to give you a system that is 
usable for many purposes.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-07-17 18:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-01 18:12 Dual Boot William Bradley
1999-04-01 18:20 ` Matthew Jacob
1999-04-01 19:10 ` David Andrew - Sun MDE
1999-04-03 15:15 ` G.M.Sigut
  -- strict thread matches above, loose matches on Subject: below --
2000-12-31  4:16 [parisc-linux] xchg/cmpxchg defined in wrong place? R P Herrold
2001-01-02  0:09 ` Dual Boot Grant Grundler
2003-07-17 15:34 dual boot Anna G. Zapata
2003-07-17 15:54 ` James Miller
2003-07-17 18:30 ` Frank Roberts - SOTL
2003-07-17 18:57 ` Ray Olszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.