LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I create a rescue disk with Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-create-a-rescue-disk-with-ubuntu-923277/)

Belton222 01-11-2012 11:54 AM

How do I create a rescue disk with Ubuntu
 
I'm trying to create a rescue disk for my Ubuntu system. (I think I remember during install if I wanted to, and I bypassed it...)

I have a DVD RW disk and am trying to use it as my rescue disk.

I am using Ubuntu 11.04
uname -r gives me : 2.6.38-13
I'm using GNU/Linux

In gparted
I have my partition setup as:
/dev/sda1 ext4
/dev/sda2 extended
/dev/sda5 linux-swap

I read that I need to have the lilo.conf file on the dvd.

i downloaded lilo

i try and run liloconfig, and I get errors saying it doesn't look like my root filesystem device isn't an "ordinary" block device (does this mean it's over 1024 cylinders??). either fstab is broken, and you should fix it or.. you are using hardware (such as raid array) which this simple config program doesn't handle (I'm not using raid). Either you could repair it or hand-roll your own /etc/lilo.conf (roll???) and run liloconfig again.

/etc/lilo.conf doesn't exist...

My lshw has :
*-cdrom
description: DVD-RAM writer
product: DVD-RW DVR-219L
vendor: PIONEER
physical id: 0
bus info: scsi@2:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.02
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=ready
*-medium
physical id: 0
logical name: /dev/cdrom

I've searched for and can't find related questions other than one which lists programs to run which will create images : mkcdrec, mondoarchive, and systemimager

Is this the only way to create a rescue disk (with these programs) or is there some sort of system utility ? I thought a rescue disk isn't just another image of Linux - I thought my install CD would be sufficient for that. (do i even need a rescue disk if I have the install cd?)

I'm a bit over my head as there is no lilo.conf on my system (in /etc), and the format of my drive is EXT4, which I'm not sure is the correct format.

Thank you

gdejonge 01-11-2012 06:35 PM

1. If you got an live CD/DVD, then that would be normally enough for standard rescueing tasks.
2. No you don't need lilo. Ubuntu uses grub these days as a bootloader.

If you really need a dedicated rescue CD, follow the link in my signature.


All times are GMT -5. The time now is 12:13 AM.