boot cd linux HOWTO?


 
Thread Tools Search this Thread
Operating Systems Linux boot cd linux HOWTO?
# 1  
Old 06-12-2006
boot cd linux HOWTO?

i have linux bootable cd.
I want similar bootalbe cd with some chnage in the disk. i.e, some file from the old cd has to replaced in newer one.

how do i do it?
# 2  
Old 06-12-2006
A simple and straight answer would be:
Code:
dd if=/dev/cdrom of=/tmp/bigfile.iso # dump the CD
losetup /dev/loop0 /tmp/bigfile.iso ; mount /dev/loop0 /cdrom # mount with RW

From there u can change anything, and then burn it back to a new cd...
# 3  
Old 06-12-2006
mount -o loop,rw whatever.iso /mnt/cdrom
cd /mnt/cdrom
touch a

it says readonly fs.
but when i do mount it say its rw.

Same with your solution too

here is the output of mount with your solution

a/dev/hda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-23-386/volatile type tmpfs (rw)
/dev/hda6 on /home type ext3 (rw)
/dev/hda1 on /media/hda1 type ntfs (rw)
/dev/hda7 on /media/hda7 type vfat (rw)
/dev/hda5 on /tmp type ext3 (rw)
/dev/loop0 on /media/cdrom0 type iso9660 (rw)
# 4  
Old 06-12-2006
thats weird, look at the whatever.iso 's file permissions and change if necessary then remount and try again, i did that many times without pb (modifying some rpms of some distrib.)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands

When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies

2. Red Hat

HOWTO transfer Hosts in excel sheet to file in LINUX?

Hi guys! I have around 300 hostsname is excelsheet in one column. These hosts I want to add in one file in linux one after the another like hostname1,hostname2.hostname3, I don't want to waste enter it manually it very time consuming, so how to transfer these files from excelsheet to a... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

3. IP Networking

HOWTO: Linux multihomed dns client - reverse lookup

The following thread is closed: 133552-howto-linux-multihomed-dns-client (Sorry I am not allowed to post URLs) Therefore I write this append in an own thread. The HOWTO in the referenced thread helped me a lot and I only want to append how to make reverse lookup working for a local zone: ... (0 Replies)
Discussion started by: scheruga
0 Replies

4. Shell Programming and Scripting

Howto get only filename from find command in Linux?

Hi every body! I would like to get only filename in the result of find command in Linux but I don't know howto. Tks so much for your helps. (5 Replies)
Discussion started by: nguyendu0102
5 Replies

5. UNIX and Linux Applications

Linux NAS HowTo suggestions?

Hello - I'm looking for a VPN/NAS howto guide or solution that you can recommend. I've looked at FreeNAS, and am considering it, but not sure it does everything I need. Scenario: We are looking to build a NAS in our office from a linux machine on a limited budget. Our office is behind a... (1 Reply)
Discussion started by: kettlewell
1 Replies

6. IP Networking

HOWTO: Linux multihomed dns client

The Linux resolver queries all nameservers in the order they are listed in /etc/resolver.conf. If a nameserver times out, it advances on to the following nameserver. But, if a nameserver returns "not found" (NXDOMAIN) it stops. This behaviour is problematic when you need to resolve names from... (0 Replies)
Discussion started by: colemar
0 Replies

7. Hardware

Linux Hardware Compatibility Guide (2007 HOWTO)

Before posting questions about Linux hardware, it is a good idea to check the Linux Hardware HOWTO guide (Last Update: 2007-05-22) However, this HOWTO has not been maintained since 2007 and it out-of-date. (0 Replies)
Discussion started by: Neo
0 Replies

8. Solaris

Howto edit solaris boot manager menu

Solaris boot manager menu seems to include partitions that cannot be boot and labeling that would be confusing to some people. How can I edit these? (4 Replies)
Discussion started by: maag
4 Replies

9. Red Hat

linux will not boot, boot to grub prompt

my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot. The machine come up to grub prompt. I tried the following from grub prompt root (hd0, then press tab key partition num:0 filesystem type unknown, partition type 0x83... (7 Replies)
Discussion started by: hassan2
7 Replies

10. UNIX for Dummies Questions & Answers

linux boot problem

i have instaled a boot loader and win98 on drive c: and linux on drive d: and when i go to boot with the loader into linux nottin happens.is there some way i should install lilo to let it boot of a loader on drive c: ? (5 Replies)
Discussion started by: perleo
5 Replies
Login or Register to Ask a Question