LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2009, 12:13 PM   #1
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 15
Talking Can a LIVE CD be copied to hd so as to be available for boot at startup?


I have a CENT OS 5.3 Live CD which has following folders:

1.isolinux
2.LiveOS

I wish to know:

Can i copy the contents of this CD to my Hard Drive so that i can use CENT OS 5.3 as my additional Operating System besides RHEL5 Desktop installation.

fdisk -l

returns

[root@localhost ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1288 10241437+ 83 Linux
/dev/sda3 1289 1419 1052257+ 82 Linux swap / Solaris
/dev/sda4 1420 9729 66750075 5 Extended
/dev/sda5 1420 9729 66750043+ 8e Linux LVM



If its possible, please tell me the exact steps to do it.

Where should the files be copied?
And i think, i will also need to edit some file named menu.lst.
Where can i find that file?

Thank You


Regards
Redhat5
 
Old 08-14-2009, 12:27 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yeah
it might work

copy those two folders to hd
edit /boot/grub/menu.lst

and add centos entries
Post your isolinux.cfg and we can convert it to menu.lst

also, can centos 5.3 boot from usb?
 
Old 08-14-2009, 12:32 PM   #3
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Original Poster
Rep: Reputation: 15
Talking

Thanks for the reply.

The isolinux.cgf file has been attached as .txt in this post.

I do not know where to copy these two files and how to edit the menu.lst entries.

I have not checked out it on USB.

Redhat5
Attached Files
File Type: txt isolinux.txt (1.1 KB, 11 views)
 
Old 08-14-2009, 12:40 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I'm gonn try it now....
 
Old 08-14-2009, 12:44 PM   #5
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
What you're asking may be possible with Centos, I never tried it.
The only way I know to do what you're asking for is to either dual boot or just install the distro you wish as your operating system.
Dual booting with grub [assuming you're using grub] isn't that complicated, just "scarey" the first time around.
Distro's related to one another are the easiest to set up for dual booting,, ie, Ubuntu and Kubuntu for instance.
In your case, Fedora and CentOs may be easier to set up since they're both Red Hat related.
It is also possible to install some .iso's without burning them to a cd/dvd,,, simply drop the .iso somewhere and install from the .iso itself.
Doesn't work on all distro's and is complicated as heck, but it can be done.
 
Old 08-14-2009, 12:54 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yeah it works great

you goota edit your menu.lst

here's CentoS5.3 isolinux.cfg

Code:
label linux0
  menu label Boot CentOS-5.3-i386-LiveCD
  kernel vmlinuz0
  append initrd=initrd0.img root=CDLABEL=CentOS-5.3-i386-LiveCD rootfstype=iso9660 ro quiet liveimg
here's the grub menu.lst entry I just made for centos

Code:
title CentOS-5.3 LiveCD
root (hd0,5)
kernel /LiveOS/vmlinuz0 initrd=/LiveOS/initrd0.img root=UUID=7fe055ba-c753-4616-8b3a-36fe0aeef4d2 rootfstype=ext3 rw quiet liveimg 
initrd /LiveOS/initrd0.img
so, just change root=CDLABEL=CentOS-5.3-i386-LiveCD

to root=UUID=?

and rootfstype from iso9660 to ext3 or whatever

and change ro to rw

to find UUID, do blkid as root

login to centos as root too

I'm writing you from centos now
see screenshot

EDIT: I placed everything in isolinux folder into LiveOS folder
Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	21
Size:	94.7 KB
ID:	1229  
 
Old 08-14-2009, 12:58 PM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
How did I figure that out?
LOL
I am multidistro baby!

Fed11/centos are cousins right?

I just used same cheatcodes fed11 usb uses

I wonder if CentOS can run persistent off usb/hd using fed11's "overlay" like fed11 does?
Maybe I'll try that....
 
Old 08-14-2009, 12:59 PM   #8
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
Interesting and informative:
Thx for the follow up.
May prove useful to others.
 
Old 08-14-2009, 01:55 PM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK
seems the persistent overlay doesn't work with centos 5.3?

it works with fed11 though
thats how I installed fed11, dso I didn't have to make ext4 partition....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copied Debian install from dead hdd to new hdd.now system fails to boot :S deepclutch Debian 18 02-15-2008 07:17 AM
where do startup messages live? zlya Linux - Newbie 7 04-23-2007 08:41 PM
mandrake 10 copied over my win2k boot sector!?! rApT0r Linux - Newbie 35 04-13-2004 11:04 AM
Copied over rc.M startup script Tarts Slackware 0 12-03-2003 04:21 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration