Pages

Search

Installing Windows with Linux already installed - Forums Linux

Installing Windows with Linux already installed - Forums Linux


Installing Windows with Linux already installed

Posted: 16 Dec 2004 07:23 AM PST

James Willmore wrote:
 

I don't fully get the gist of what is happening.
May be you need to boot up with a Knoppix or Mepis LiveCD, run QtParted
and look at the partition tables. Save the menu.lst file.
After that, you can format the first partition to fat32 from QtParted.
Then reboot machine under windopes and install windopes on that first
partition. That should work. But at this stage, your grub boot will be
lost. You can put grub back if you know command line, or
with the installer in Mepis LiveCD. After that, restore the menu.lst
file to include the windopes boot and you are done.
LiveCDs at this url.
http://www.frozentech.com/content/livecd.php

Problem with symlinks and shell

Posted: 16 Dec 2004 01:08 AM PST

Laurenz Albe wrote: 

Good stuff, Laurenz.


Andreas:

Try 'ls ../../link' after issuing the change directory.

You say your command actually works on some systems? Could you go into more
detail. I am most curious. ----- Things to try on those systems:

From the directory where you do 'ls -l link', try typing in 'find .' or some
such command, so we can see the whole directory tree. Also, after the
change directory, try typing pwd to see if your current path is different
than what you would expect (as per Laurenz's hypothesis). You didn't say
you were doing it on multiple shells on the other environments, so maybe
you could try checking for aliases?

Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --

what are binaries? not in index of "Running Linux"

Posted: 15 Dec 2004 04:10 PM PST

Jer wrote:
 

two things: binaries can be non-executable
files that are NOT text - they contain
binary data; for example, a database file
could be binary.

part two: a binary is usu meant to mean
that it is an executable, either as a
pure executable program or supporting
library, etc
 

a binary distribution is one in which
everything that gets installed are the
final, binary (executable) files. of
course there is MORE to a binary
distribution than just executable files.

in contrast, there are SOURCE distributions,
whereby you BUILD (compile) everything
from scratch to arrive at a binary

--
<< http://michaeljtobler.homelinux.com/ >>
We don't know who discovered water, but we're
certain it wasn't a fish.

Permissions

Posted: 15 Dec 2004 10:52 AM PST

Enzo's Dad wrote:
 

Sometimes its not just permissions but ownership of files
that can get you into trouble. You may need to do a chown
on the files.
You can find out more using man command

man chmod
man chown

Upgrading from Redhat 8 to 9 from ISOs

Posted: 15 Dec 2004 09:57 AM PST

Conner Destron wrote: 

I am not sure about that. Red Hat Linux 9 is past the end-of-life stage
and is no longer supported either. If you wish to be a Red Hat Customer,
your course of action would be to get Red Hat Enterprise Linux 3, probably
the WS version for the desktops and the ES or AS version for the servers.
This is quite expensive.

I believe you can get "White Box Linux" or something like that for a
dollor or two per disk (RHEL 3 comes on 9 CD-ROMs).

Alternatively, you may find that Fedora Core 3 is the way to go.

And of course there are other distributions, but as I have never tried
them, I will not attempt to advise about them. 

To install a Red Hat distribution, normally you stick the first CD-ROM
into the CD-ROM drive and reboot the system. It takes you all the way
through, and asks for another CD from time-to-time. You tell it if you
want to upgrade or do a fresh install.

There is a way to install from a hard drive, but I never did it.

The RHL 9 manual says:

3.6. Installing from a Hard Drive

Note: Hard drive installations only work from ext2, ext3, or FAT file
systems. If you have a file system other than those listed here,you will
not be able to perform a hard drive installation.

Hard drive installation require the use of the ISO (or CD-ROM) images. An
ISO image is a file containing an exact copy of a CD-ROM disk image.
Because Red Hat Linux has so many packages included with its distribution,
there are several ISO images available. After placing the required ISO
images (the Binary Red Hat Linux CD-ROMs) in a directory, choose to
install from the hard drive. You will then point the installation program
at that directory to perform the installation. 

Why not burn the CD-ROMs? One of them can be used as a rescue disk, and
the others are a nice backup, especially of the stuff you did not install
that you later may want. 

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 15:55:00 up 12 days, 18:36, 3 users, load average: 4.36, 4.26, 4.19

running windows application on linux, advice.

Posted: 15 Dec 2004 07:48 AM PST

On Wed, 15 Dec 2004 17:37:49 -0600, mjt wrote: 

There's another interesting factoid about running XP Pro in VMWare 4.x
and its ability to build a very generic platform...

No more guesses :)

--
Michael Perry | do or do not. There is no try. -Master Yoda
org | http://www.lnxpowered.org

Sharing partitions between distros

Posted: 14 Dec 2004 05:44 PM PST

Bit Twister wrote: 

Good point.
 

True.
 

I already do. Booting from a System Commander boot diskette allows System
Commander to take over again no matter who writes their record in the mbr.
Once System Commander takes over again it immediately figures out what other
OSs are installed and where, and presents the user with an appropriate
graphical menu to choose what to boot into.. Needless to say System
Commander allows any mix of Windows, Linux, and nearly any other
micro-computer OS on the same machine. I am sure the Linux multi-booters are
good but System Commander is exceptional from my experience.
 

I get the idea.
 

Will do.
 

I agree but if the installation can not understand a common swap partition
on another drive, then I need to point to it after I am booted in. I am sure
there must be a way to do this as Linux is very flexible.

Thanks for your help.


Problems with fsck

Posted: 14 Dec 2004 03:57 PM PST

Gernot Fink wrote: 
Once 
-n" 
in 
clean. 

I'm using "-n" so I am not changing any data, so the command is safe.
There is nowhere in the fsck manual any mention that running fsck -n on
a mounted system would give you wrong results. They say that it is
dangerous to run fsck without -n on a mounted file system, but I'm not
doing that.

I also did an extensive google search and found nothing to explain the
behavior. I'm not surprised of what I'm finding out from your response,
but I could not confirm this without asking.

I was probably asking the wrong question. The right question would be:
if I am running "fsck -n -f" on a mounted file system, can I get a
reliable diagnosis and find out if the file system is OK or corrupted?
Apparently the answer is no. Correct?

Thanks,

Dan

p.s. Someone asked why would I want to do that. Our product is a box
with a custom front panel. Attaching a VGA monitor keyboard and mouse
is optional, and most of our customers use the box without any
attachments. If we run fsck from rc.sysinit and it finds a problem and
it drops into repair disk mode, the user will have no way of knowing
without a monitor attached. The box would just sit there forever
partially started.

The way we do updates for our product is that the customer connects a
Mac or PC with an Ethernet cable and using samba they mount a portion
of the hard drive and copy an rpm to a specific folder. Then, they
press a button on the front panel.

I was hoping that we can check the integrity of the file systems
including the root file system during the %pre section of the rpm and
do not perform the update if there is a problem. We can use umount on
the two other partitions, but not on the root partition.

VNC server

Posted: 13 Dec 2004 11:25 PM PST

Kojot wrote:
 

You are not giving out enough information.

Anyway, one way to check is to check from your own machine if everything
is OK.

Open a console window, and in that type:
vncserver :2 -geometry 1024x768

and afterwards run up RDesktop on that same PC and see if you can connect.
Enter the following for remote desktop address:
127.0.0.1:2

You should now be connecting to a vnc session if all is OK.

You can termintate the vnc session with the following command:
vncserver -kill :2


Fedora Core 2

Posted: 13 Dec 2004 09:56 PM PST

AM wrote: 

Use system-config-packages, it will ask you for the necessary CDs to
install the packages you select.
 

rpm is equivalent to the dpkg command in Debian (or so I'm told, I'm not
a Debian user).
 

Yes. See e.g http://freshrpms.net/apt/
 

No.

--
Markku Kolkka
fi

removing grub

Posted: 13 Dec 2004 06:53 PM PST

Stephen wrote:
 


.... use one of the BART bootdisks:
http://www.nu2.nu/bootdisk/
http://www.nu2.nu/bootablecd/
--
<< http://michaeljtobler.homelinux.com/ >>
So, what's with this guy Gideon, anyway?
And why can't he ever remember his Bible?

Booting Multiple Versions of Linux? How?

Posted: 13 Dec 2004 12:53 PM PST

In article <L8Dvd.65953$columbus.rr.com>,
R S Prigan <rr.com> wrote:
 

Why, does the Fedora Linux kernel need a special bootloader? Otherwise
why not just boot it directlyw ith grub?

What are the main differences between 2.4.18 and 2.4.28???

Posted: 13 Dec 2004 12:34 PM PST

com said: 

For the differences between these, really changelogs are the best source
of information.
 

I'm ready to trust 2.6 series, but note that changing from 2.4 to 2.6
is such an undertaking that it's recommended to upgrade your base
platform (distribution) to a more recent version.

As for main advantages, I think the most significant are advances in
scheduler and memory management. For laptops there are improvements
in handling power management and other laptop-specific hardware issues.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)

Setup multi-boot system

Posted: 13 Dec 2004 11:18 AM PST

Steve Greenfield wrote:
 

Sent a bit earlier on another thread...
I've got more than 10 distros working on one PC.
The way I do it is each distro gets its own partition.
Any shared data is left in a partition of its own.

Notes
-----
1. I use grub to do up the booting. I used Mepis LiveCD
distros that install grub from the LiveCD.
I just maintain one /boot/grub/menu.lst file for all
the distros that I boot up. I use QtParted to do all the work
usually the Knoppix one
http://www.frozentech.com/content/livecd.php

2. Remember you can only have 4 primary partitions on a hard disk.
Make one of those swap.
Make one those an extended partition.
Then you are left with 2 primary partitions to play with.
Inside the extended partition
you can have as many logical partitions as you want,
but with the caveat that if one logical partition's partition
data is destroyed by some accident, then further logical
partitions down the chain are lost.

3. You can install and boot up windopes as well - I normally
put that in the first partition and format it fat32.
The commands to boot windopey stuff from grub's menu.lst file is

title Windopes ExPeehee at hda1
rootnoverify (hd0,0)
chainloader +1
savedefault

You can install into the same partition several versions of windopes
and have the one boot entry in menu.lst which loads up
the windopes loader which will show the multiple windopes
versions you have installed.
You find when doing this kind of stuff windopes takes up all your
time, as it generally fscks up your hard disk no end.
So to minimise that, put GNU/Linux in second or further partition
down the ladder and update the menu.lst file like above to boot windopes.
You can boot GNU/Linux from LiveCD to get acess to linux partitions
and install Grub after windopes wipes it.

4. Once up and running with multiple distros,
you can zip up and back up entire partitions

change to /mnt/hda1 or whatever your hard disk is..
to zip up into one file*** tar -cfzv <filename.gz> .

likewise when restoring go to the correct drive like /mnt/hda1 or whatever,
and then to unzip the files** tar -zpvf <filename.gz>

Tape drive problem

Posted: 13 Dec 2004 06:54 AM PST


Ian Young wrote: 
functioality 
-f 

md5sum : command problem? Output graphics ascii. (Also, re. alternate md5 solutions.)

Posted: 13 Dec 2004 02:25 AM PST

Sorta Anonymous wrote: 

Heh. I shall think about that. *resists urge to spout philosophical
babble*.

Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --

Linux is the OS of terror, made by Al Qaeda !!!

Posted: 12 Dec 2004 11:28 PM PST

Jean-David Beyer wrote: 

ROTFL!!!

--
Post prandium stabis, post coenam ambulabis.

RRB

How to make room for / partition to install/upgrade Kernel?

Posted: 12 Dec 2004 11:14 PM PST



"Ant", I realized I messed up your name in my post. Sorry about that.

Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --

NIC speed?

Posted: 12 Dec 2004 06:10 PM PST

On Mon, 13 Dec 2004 02:28:20 GMT, IANAL_VISTA wrote: 

Well, there you are, your transmitter is running 100base full duplex.

passwd file

Posted: 12 Dec 2004 03:34 PM PST

>>I have a password file that looks like so. 

This is exactly the info I needed. I was able to export my database to a
report then with a script parse it and create a passwd file. Saved me a lot
of typing.

Thanks.

Matthew

 


Knoppix is real slow!!

Posted: 12 Dec 2004 01:40 PM PST

william olga wrote:
 
can use 
fledged 

Underpowered? I've got two Duron 750MHZ boxes--old Compaq
Presarios--with a gig of RAM split between them. One runs WinXP, the
other runs (and has run since 2001) Debian, with GNOME. Both boxes run
just fine. I've run everything from KDE to GNOME to XFCE on my Debian
box, and performance has been fine under all three.

I wouldn't say no to a faster system, but all the games I've run work
fine on that level machine. (RTCW (on Linux), SimCity 4 (on XP), Diablo
2(on XP), plus a lot of older, less demanding games. (Debian's got
hundreds of great games. I keep a local-disk package mirror, so it's a
snap to add and remove anything I'm in the mood for.)

As for the original post...If he's having trouble running Knoppix
quickly on a 3GHz box, then there's definately something wrong. He
might have a couple failed memory modules, and is stuck with a lot of
swapping, for instance.

Installing using a USB Keyboard and mouse

Posted: 12 Dec 2004 12:43 PM PST

Andreas Janssen wrote: 

Thanks ! I will give it a try.


can't boot up

Posted: 12 Dec 2004 08:03 AM PST

And... in fact, the keyboard doesn't light up as well.... hm, so I
think it's not the problem of the monitor... but I'm not sure if it's
the hardware or software problem...

Knoppix live installer - how to use?

Posted: 12 Dec 2004 04:35 AM PST

Error log for Sun, 12 Dec 2004 04:35:29 -0800: Steve North caused a Page
Fault at address <google.com>,
details...
 

Once Knoppix is installed to hdd, then for all practical purposes it is
the same as any other DEB based distro. You use the same tools that you
would for a Debian system...

To update the package list
apt-get update

To upgrade the installed packages
apt-get dist-upgrade

To install a single deb package
dpkg -i <package>

You can also take advantage of advanced tools and frontends for
maintaining and upgrading your system like KPackage (gui) and aptitude
(cli).

HTH

--
rapskat - 16:53:12 up 20 days, 23:12, 4 users, load average: 0.15, 0.30, 0.43
Someone is speaking well of you.

Newbie two homed question.

Posted: 12 Dec 2004 03:33 AM PST

On Tue, 14 Dec 2004 05:59:30 GMT, Larry Lindstrom wrote: 

No wonder. Binary install is faster. :)
 

Remember, I am running Mandrakelinux 10.1 Oficial.
Shorewall is installed out of the box. Here is the
firewall screen shot during install
http://doc.mandrakelinux.com/MandrakeLinux/100/en/Starter.html/tinyfirewall.html

I used webmin to play with the rules then edited the files with an editor.

If you look at the gray box settings at
http://www.shorewall.net/two-interface.htm
you can get a feel for what the webmin web pages will look like from
your LAN boxes.

All the firewall stuff you find will be gui front ends for the iptables
netfilter packet filter.

For NAT, set net.ipv4.ip_forward = 1 in /etc/sysctl.conf
and you place masquerading rules in the firewall.
Since you want to run text mode, the CLI iptable commands will be
something like

iptables -A POSTROUTING -t nat -s 192.168.1.0/255.255.255.0 -o eth+ -j MASQUERADE
iptables -A FORWARD -i eth0 -o eth1 -m state --state NEW -j ACCEPT
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT

which is not a complete firewall set.