Re: Linux(booting from hd)

2000-08-10 Thread Thomas Mueller

If you can boot Linux from a CD or diskette, you can achieve the effect of 
booting from hd with a command like mount root = /dev/hda1 at the boot prompt.
Or you can use loadlin.




Re: Linux(booting from hd)

2000-08-08 Thread Joerg Bartels

At 08.08.2000 10:48:00, you wrote:

snip

If you've got a spare harddrive, you can simply
transfer BasicLinux to the harddrive and boot 
from there.  That will give you a permanent Linux
installation (which won't lose your changes when
you turn off the power).

snip

Cheers,
Steven

___
http://homepages.ihug.co.nz/~ichi/baslinux.html


Hello Steven, All,

first thanks for helping- 
Remember I am a newbie. When my new hd is say E: with Linux-partitions 
howe can I transfer BasicLinux to it and boot from it (I will avoid
a bootloader and all that stuff)?. Does it mean booting BasicLinux with
boot.bat from dos to a RAMdisk, copy BasicLinux to the hd, cd to the hd
and doing a "reboot" on that -Hey, I am a newbie I can ask stupid :-).
An other thing: Most of the software on my CD(Go!Linux), also basic stuff,
is rpm BasicLinux can not handle that. Is there a modul or prog. that can
handel it under BasicLinux.
Thanks for helping

regards Joerg  




Re: Linux(booting from hd)

2000-08-08 Thread Steven

Joerg Bartels wrote:
 
 When my new hd is say E: with Linux-partitions
 how can I transfer BasicLinux to it 

If the drive is your third HDD (master drive on the 
secondary IDE cable), then the partitions on it will 
be /dev/hdc1, /dev/hdc2 and so on.  If the drive 
hasn't already been partitioned, you can use fdisk 
in BasicLinux to do this.  The Linux partitions 
then need to be prepared with mke2fs.  For example 
'mke2fs /dev/hdc2' will put a Linux filesystem on 
the second partition.

 Does it mean booting BasicLinux with boot.bat 
 from dos to a RAMdisk, copy BasicLinux to the hd, 

So far so good.  Tar is the best way to copy an entire 
filesytem.  Mount the destination HDD on /mnt.  From 
the / directory, tar up everything except /mnt and 
/proc (with the tarball sent to /mnt).  Like this:
---
tar -cvf /mnt/copy.tar /bin /dev /etc /lib ... 
---
All of your directories should be in this line 
EXCEPT /mnt and /proc.

Now cd to mount and you should find a nice big tarball 
there (copy.tar).  Before you forget, mkdir proc 
(Linux just requires a /proc directory -- it will 
automatically put kernel stuff in it).  Then:
-
tar -xvf copy.tar
-
That's it.  The entire filesystem has been copied over.
cd out of /mntumount /mnt   reset

 and doing a "reboot" on that

To boot the filesystem on the HDD, use DOS to edit
BOOT.BAT.  It should look like this:
-
loadlin zimage root=/dev/hdc1 rw
-
This assumes you copied BasicLinux to /dev/hdc1.
If you put it on a different partition, change
the c1.


 Most of the software on my CD (Go!Linux), also 
 basic stuff, is rpm BasicLinux can not handle that. 
 Is there a modul or prog. that can handel it under 
 BasicLinux.

Yes, rpm2targz will convert the rpm to a tar.gz.
I'd be happy to send it to you, it's only 2k in
size.  It should work fine with BasicLinux, but
I've never used it there, so perhaps I'd better
test it before sending it to you.  Send me a
private email if you want it.

Cheers,
Steven

___
http://homepages.ihug.co.nz/~ichi/baslinux.html