Forums

Bluewhite64 Linux :: Forums :: Bluewhite64 Linux Official forum :: How it's made?
 
<< Previous thread | Next thread >>
Bluewhite64 Live manually Installation
Moderators: Arny
This thread is now closed
Author Post
Arny
Sat Mar 17 2007, 01:31

Registered Member #1
Joined: Tue May 30 2006, 11:44
Posts: 1109
Use this How To for Bluewhite64 12.1 (or later) LiveDVD or LiveUSB.

All Linux partitions are detected and mounted to /mnt during the LiveDVD boot. (eg: /mnt/sda3, /mnt/sdb2). Please check which is the partition where you want to install the LiveDVD and make sure that is formated (ext3 or reiserfs).

I have tested on my development box where I added a second HDD (/dev/sdb) to install the LiveDVD. Boot up your LiveDVD and see what is in your /mnt directory. I got /mnt/sdb1 after the boot.

NOTE: Make sure that your partition is formated and ready to be used. I`m using reiserfs.

Open the console an start execute this commands:

NOTE: Take a look at the /mnt and if you have other partitions like the base one then you must create the directory for them and change the ADD_YOUR_PARTITION_HERE with your extra partitions. In my case I have a /dev/hda3 (ntfs).


mkdir -p /mnt/sdb1/mnt/cdrecorder
mkdir -p /mnt/sdb1/mnt/cdrom
mkdir -p /mnt/sdb1/mnt/dvd
mkdir -p /mnt/sdb1/mnt/floppy
mkdir -p /mnt/sdb1/mnt/hd
mkdir -p /mnt/sdb1/mnt/memory
mkdir -p /mnt/sdb1/mnt/tmp
mkdir -p /mnt/sdb1/mnt/zip
mkdir -p /mnt/sdb1/mnt/ADD_YOUR_PARTITION_HERE

mkdir -p /mnt/sdb1/sys
mkdir -p /mnt/sdb1/proc
mkdir -p /mnt/sdb1/tmp

cp -a /bin /mnt/sdb1/
cp -a /boot /mnt/sdb1/
cp -a /dev /mnt/sdb1/
cp -a /etc /mnt/sdb1/
cp -a /home /mnt/sdb1/
cp -a /lib /mnt/sdb1/
cp -a /media /mnt/sdb1/
cp -a /lib32 /mnt/sdb1/
cp -a /opt /mnt/sdb1/
cp -a /root /mnt/sdb1/
cp -a /sbin /mnt/sdb1/
cp -a /srv /mnt/sdb1/
cp -a /usr /mnt/sdb1/
cp -a /var /mnt/sdb1/

cd /mnt/sdb1
ln -s lib lib64 


OK, now you have the LiveDVD installed on your hard drive and is time to make some fine tunning in order to boot .

First we need to install lilo. Here we can have some situations:
#1 we have two HDD and want to have possibility to dual boot.
#2 we have only one HDD and the LiveDVD is installed on another partition and want to dual boot
#3 We have only one HDD with Linux partition and want to boot only the LiveDVD


#1 This is my case, you have to change /dev/sdb1 with your patition!

Edit your first HDD /etc/lilo.conf file and add:

image = /boot/vmlinuz
root = /dev/sdb1
label = LiveDVD
read-only

Save and run lilo command.
If you are succeeded then you should see something like this:

root@BW64Live:~# lilo
Added Linux *
Added LiveDVD

Now edit your LiveDVD /mnt/sdb1/etc/fstab and change

aufs / tmpfs defaults 0 0 # AutoUpdate


to

/dev/sdb1    /    reiserfs    defaults 1 1 


Check if the other partitions are set correctly and the mount points are created then make the necessary changes.

If everything is OK reboot and choose to boot your LiveDVD.

#2 This case is almost the same as the #1 just to make sure to use /dev/YdaX
(where Y = h for IDE HDD, s for SATA or SCSI HDD )
(where X = the partition number where the LiveCD is installed)

#3 just like the #2

Have fun !

If you have problems please post to the LiveDVD forum.

[ Edited Sat Dec 06 2008, 05:09 ]
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System