[1] | 1 | <HTML>
|
---|
| 2 | <HEAD>
|
---|
| 3 | <!-- $MVD$:app("MicroVision WebExpress","769") -->
|
---|
| 4 | <!-- $MVD$:template("","0","0") -->
|
---|
| 5 | <!-- $MVD$:color("18","840084","Custom #1","0") -->
|
---|
| 6 | <!-- $MVD$:color("19","e0e0e0","Custom #2","0") -->
|
---|
| 7 | <!-- $MVD$:color("20","80ff","Orange","1") -->
|
---|
| 8 | <!-- $MVD$:color("21","ffd6ce","Lavender","1") -->
|
---|
| 9 | <TITLE>Kernel/Linux/Booting </TITLE>
|
---|
| 10 | <META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
---|
| 11 | ">
|
---|
| 12 | <LINK REL="HOME" HREF="index.html" TITLE=" Mondo Rescue and Mindi Linux HOWTO "><LINK REL="UP" HREF="faq.html" TITLE=" Troubleshooting/FAQ "><LINK REL="PREVIOUS" HREF="faqgeneral.html" TITLE=" General "><LINK REL="NEXT" HREF="faqinstallation.html" TITLE=" Installation "></HEAD>
|
---|
| 13 | <BODY BGCOLOR="WHITE" TEXT="BLACK" LINK="BLUE" VLINK="#840084" ALINK="BLUE" CLASS="SECTION">
|
---|
| 14 | <DIV ALIGN=LEFT>
|
---|
| 15 | <P ALIGN=LEFT>
|
---|
| 16 | <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Header navigation table">
|
---|
| 17 | <TR>
|
---|
| 18 | <TD COLSPAN="3" VALIGN=CENTER>
|
---|
| 19 | <P ALIGN=CENTER>
|
---|
| 20 | Mondo Rescue and Mindi Linux HOWTO</TD>
|
---|
| 21 | </TR>
|
---|
| 22 | <TR>
|
---|
| 23 | <TD WIDTH="10%" VALIGN=BOTTOM>
|
---|
| 24 | <P ALIGN=LEFT>
|
---|
| 25 | <A HREF="faqgeneral.html" ACCESSKEY="P">Prev</A></TD>
|
---|
| 26 | <TD WIDTH="80%" VALIGN=BOTTOM>
|
---|
| 27 | <P ALIGN=CENTER>
|
---|
| 28 | Chapter 10. Troubleshooting/FAQ</TD>
|
---|
| 29 | <TD WIDTH="10%" VALIGN=BOTTOM>
|
---|
| 30 | <P ALIGN=RIGHT>
|
---|
| 31 | <A HREF="faqinstallation.html" ACCESSKEY="N">Next</A></TD>
|
---|
| 32 | </TR>
|
---|
| 33 | </TABLE>
|
---|
| 34 | <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
|
---|
| 35 | </P>
|
---|
| 36 | </DIV>
|
---|
| 37 | <H1 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 38 | <A NAME="FAQBOOTING"></A>10.3. Kernel/Linux/Booting</H1>
|
---|
| 39 | <DL>
|
---|
| 40 | <P ALIGN=LEFT>
|
---|
| 41 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN601">How do I know
|
---|
| 42 | if Mondo works with my Linux distro?</A><BR>
|
---|
| 43 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN607">When I try to
|
---|
| 44 | boot from the Mondo CD, it says, "VFS: Unable to mount root
|
---|
| 45 | fs." I am using a Debian distro. What do I do?</A><BR>
|
---|
| 46 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN612">When I try to
|
---|
| 47 | boot from the Mondo CD, it says, "Cannot mount root fs - kernel
|
---|
| 48 | panic," or something similar. What do I do?</A><BR>
|
---|
| 49 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN618">When I try to
|
---|
| 50 | boot from the Mondo CD, it says, "Mounting /tmp/tmpfs...fatal
|
---|
| 51 | error! Failed UPGRADE YOUR RAM". What does that mean?</A><BR>
|
---|
| 52 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN624">When I try to
|
---|
| 53 | boot from the Mondo CD, it says something about not finding my CD-ROM
|
---|
| 54 | drive and then it blames the kernel. What does that mean?</A><BR>
|
---|
| 55 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN631">The Mondo
|
---|
| 56 | CD/floppy takes ages to boot. How can I speed it up?</A><BR>
|
---|
| 57 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN636">I made a Mondo
|
---|
| 58 | CD using the failsafe kernel (i.e. I said 'no' when Mondo asked if I
|
---|
| 59 | wanted to use my own kernel). It still doesn't boot. Help!</A><BR>
|
---|
| 60 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN641">What if my PC
|
---|
| 61 | won't boot from a CD?</A><BR>
|
---|
| 62 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN647">But why won't
|
---|
| 63 | Mondo boot from my CD? It says my kernel is flawed/outdated/
|
---|
| 64 | whatever, and when I wrote to you, you told me the same thing... but
|
---|
| 65 | I still don't get it. I mean, my kernel works for everything else.
|
---|
| 66 | Why not Mondo?</A><BR>
|
---|
| 67 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN653">Why do I only
|
---|
| 68 | need a boot disk if I'm using a tape drive? Where are the data disks?</A><BR>
|
---|
| 69 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN658">Why does it
|
---|
| 70 | say, "Process accounting FAILED" when I reboot?</A><BR>
|
---|
| 71 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#AEN663">Why does it
|
---|
| 72 | say, &#8220;request_module[block-major-1]: Root fs not mounted
|
---|
| 73 | VFS: Cannot open root device "100" or 01:00 Please append a
|
---|
| 74 | correct "root=" boot option kernel panic: VFS: Unable to
|
---|
| 75 | mount root fs on 01:00&#8221; when i boot from the CD?</A><BR>
|
---|
| 76 | <DT CLASS="mvd-P">Q: <A HREF="faqbooting.html#COPYBOOTDATADISK">How
|
---|
| 77 | do i copy boot+data disk images to physical floppy disks?</A><BR>
|
---|
| 78 | <DT CLASS="mvd-P">Q: <A HREF="#TAPENICE">My tape drive doesn't play
|
---|
| 79 | nicely with Mondo at boot-time. What do I do?</A></P>
|
---|
| 80 | </DL>
|
---|
| 81 | <P ALIGN=LEFT>
|
---|
| 82 | <A NAME="AEN601"></A><B>Q: </B>How do I know if Mondo works with my
|
---|
| 83 | Linux distro?</P>
|
---|
| 84 | <P ALIGN=LEFT>
|
---|
| 85 | <B>A: </B>Try running it. :) That's always a good way to find out.
|
---|
| 86 | Check the <A HREF="../../docs/docs.html" TARGET="_top">Documentation page</A>,
|
---|
| 87 | too.</P>
|
---|
| 88 | <P ALIGN=LEFT>
|
---|
| 89 | <A NAME="AEN607"></A><B>Q: </B>When I try to boot from the Mondo CD,
|
---|
| 90 | it says, "VFS: Unable to mount root fs." I am using a
|
---|
| 91 | Debian distro. What do I do?</P>
|
---|
| 92 | <P ALIGN=LEFT>
|
---|
| 93 | <B>A: </B>Ask Debian's designers why they, unlike every other distro
|
---|
| 94 | I can find, have included cramfs and other 'goodies' with their
|
---|
| 95 | kernel. In the meantime, please use '-k FAILSAFE' in your command
|
---|
| 96 | line when calling Mondo.</P>
|
---|
| 97 | <P ALIGN=LEFT>
|
---|
| 98 | <A NAME="AEN612"></A><B>Q: </B>When I try to boot from the Mondo CD,
|
---|
| 99 | it says, "Cannot mount root fs - kernel panic," or
|
---|
| 100 | something similar. What do I do?</P>
|
---|
| 101 | <P ALIGN=LEFT>
|
---|
| 102 | <B>A: </B>Recompile your kernel (or use '-k FAILSAFE'). Take a look
|
---|
| 103 | at <A HREF="kernelsupport.html">Linux Kernel support</A> to see what
|
---|
| 104 | you're kernel must support.</P>
|
---|
| 105 | <P ALIGN=LEFT>
|
---|
| 106 | <A NAME="AEN618"></A><B>Q: </B>When I try to boot from the Mondo CD,
|
---|
| 107 | it says, "UPGRADE YOUR RAM". What does that mean?</P>
|
---|
| 108 | <P ALIGN=LEFT>
|
---|
| 109 | <B>A: </B>Recompile your kernel and add Virtual memory file system
|
---|
| 110 | support. Take a look at <A HREF="kernelsupport.html">Linux Kernel support</A>
|
---|
| 111 | to see what you're kernel must support. (Of course, if your PC has
|
---|
| 112 | less than 64MB of RAM, you could always... what's the phrase? I know,
|
---|
| 113 | upgrade your RAM!)</P>
|
---|
| 114 | <P ALIGN=LEFT>
|
---|
| 115 | <A NAME="AEN624"></A><B>Q: </B>When I try to boot from the Mondo CD,
|
---|
| 116 | it says something about not finding my CD-ROM drive and then it
|
---|
| 117 | blames the kernel. What does that mean?</P>
|
---|
| 118 | <P ALIGN=LEFT>
|
---|
| 119 | <B>A: </B>Your kernel must support initrd, loopfs, IDE CD-ROM's, and
|
---|
| 120 | ramdisks. Take a look at <A HREF="kernelsupport.html">Linux Kernel support</A>
|
---|
| 121 | to see what you're kernel must support. If your kernel does not
|
---|
| 122 | support these things, Mondo will not boot from your CD. However, when
|
---|
| 123 | running Mindi, you may choose to use _its_ kernel instead of your
|
---|
| 124 | own. In addition, you may boot from floppy disk images instead the
|
---|
| 125 | CD: copy the disk images from the CD /images directory to floppy
|
---|
| 126 | disks, using 'dd'. Take a look at <A HREF="faqbooting.html#COPYBOOTDATADISK">Copy
|
---|
| 127 | boot data disks</A> on how to make those.</P>
|
---|
| 128 | <P ALIGN=LEFT>
|
---|
| 129 | <A NAME="AEN631"></A><B>Q: </B>The Mondo CD/floppy takes ages to
|
---|
| 130 | boot. How can I speed it up?</P>
|
---|
| 131 | <P ALIGN=LEFT>
|
---|
| 132 | <B>A: </B>Edit mindi (it's a shell script, btw) and change
|
---|
| 133 | LILO_OPTIONS="" to LILO_OPTIONS="-c". This
|
---|
| 134 | enables map compaction in lilo and speeds up booting, for more info
|
---|
| 135 | see the lilo man page.</P>
|
---|
| 136 | <P ALIGN=LEFT>
|
---|
| 137 | <A NAME="AEN636"></A><B>Q: </B>I made a Mondo CD using the failsafe
|
---|
| 138 | kernel (i.e. I said 'no' when Mondo asked if I wanted to use my own
|
---|
| 139 | kernel). It still doesn't boot. Help!</P>
|
---|
| 140 | <P ALIGN=LEFT>
|
---|
| 141 | <B>A: </B>OK, now <I>that</I> is a bug. :-) I included a kernel with
|
---|
| 142 | Mondo (technically, with Mindi, which Mondo uses) to make sure that
|
---|
| 143 | users could use Mondo despite flaws in their own kernels. If you are
|
---|
| 144 | using Mondo/Mindi's kernel but still cannot boot from your Mondo CD
|
---|
| 145 | then please e-mail the list.</P>
|
---|
| 146 | <P ALIGN=LEFT>
|
---|
| 147 | <A NAME="AEN641"></A><B>Q: </B>What if my PC won't boot from a CD?</P>
|
---|
| 148 | <P ALIGN=LEFT>
|
---|
| 149 | <B>A: </B>Copy the image files from the CD /images directory, using
|
---|
| 150 | the dd command. Take a look at <A HREF="faqbooting.html#COPYBOOTDATADISK">Copy
|
---|
| 151 | boot data disks</A> on how to make those. Then boot from the first
|
---|
| 152 | floppy; follow it up with the data disks; finally, type 'mount
|
---|
| 153 | /mnt/cdrom' and then utilize the restore script as usual, e.g. mondorestore.</P>
|
---|
| 154 | <P ALIGN=LEFT>
|
---|
| 155 | <A NAME="AEN647"></A><B>Q: </B>But why won't Mondo boot from my CD?
|
---|
| 156 | It says my kernel is flawed/outdated/ whatever, and when I wrote to
|
---|
| 157 | you, you told me the same thing... but I still don't get it. I mean,
|
---|
| 158 | my kernel works for everything else. Why not Mondo?</P>
|
---|
| 159 | <P ALIGN=LEFT>
|
---|
| 160 | <B>A: </B>Because Mondo makes a boot disk using your kernel. I bet
|
---|
| 161 | your other software doesn't do that. Also, not all kernels are
|
---|
| 162 | suitable for boot disks. I'm sorry but that's Life. Upgrade your
|
---|
| 163 | kernel and/or recompile it. Take a look at <A HREF="kernelsupport.html">Linux
|
---|
| 164 | Kernel support</A> to see what you're kernel must support.</P>
|
---|
| 165 | <P ALIGN=LEFT>
|
---|
| 166 | <A NAME="AEN653"></A><B>Q: </B>Why do I only need a boot disk if I'm
|
---|
| 167 | using a tape drive? Where are the data disks?</P>
|
---|
| 168 | <P ALIGN=LEFT>
|
---|
| 169 | <B>A: </B>On the tape. :-) The first 32MB of the tape will be set
|
---|
| 170 | aside for a large tarball containing the data disks, a list of all
|
---|
| 171 | files backed up, and other sundries. If Mondo and Mindi do their
|
---|
| 172 | respective jobs then you won't need additional floppies, just the
|
---|
| 173 | boot floppy and the tape(s).</P>
|
---|
| 174 | <P ALIGN=LEFT>
|
---|
| 175 | <A NAME="AEN658"></A><B>Q: </B>Why does it say, "Process
|
---|
| 176 | accounting FAILED" when I reboot?</P>
|
---|
| 177 | <P ALIGN=LEFT>
|
---|
| 178 | <B>A: </B>You were using Process Accounting. Red Hat (or whichever
|
---|
| 179 | distro you are using) does not provide a startup/shutdown script yet.
|
---|
| 180 | So, when you try to backup the process log, it just grows and grows
|
---|
| 181 | as Mondo tries to back it up. Mondo doesn't back it up anymore and
|
---|
| 182 | that's why. The unfortunate side-effect is... well, what you see on
|
---|
| 183 | your screen. Type 'touch /var/log/pacct' and then 'paccton' to fix
|
---|
| 184 | the error message.</P>
|
---|
| 185 | <P ALIGN=LEFT>
|
---|
| 186 | <A NAME="AEN663"></A><B>Q: </B>Why does it say,
|
---|
| 187 | &#8220;request_module[block-major-1]: Root fs not mounted VFS:
|
---|
| 188 | Cannot open root device "100" or 01:00 Please append a
|
---|
| 189 | correct "root=" boot option kernel panic: VFS: Unable to
|
---|
| 190 | mount root fs on 01:00&#8221; when i boot from the CD?</P>
|
---|
| 191 | <P ALIGN=LEFT>
|
---|
| 192 | <B>A: </B>Recompile your kernel and add initrd support. Take a look
|
---|
| 193 | at <A HREF="kernelsupport.html">Linux Kernel support</A>to see what
|
---|
| 194 | you're kernel must support.</P>
|
---|
| 195 | <P ALIGN=LEFT>
|
---|
| 196 | <A NAME="COPYBOOTDATADISK"></A><B>Q: </B>How do i copy boot+data disk
|
---|
| 197 | images to physical floppy disks ?</P>
|
---|
| 198 | <P ALIGN=LEFT>
|
---|
| 199 | <B>A: </B>The images are in /root/images/mindi (eve if they are
|
---|
| 200 | created by Mondo) and also in the 'images' directory on the first CD
|
---|
| 201 | of your backup set, if you have backed up to CD. You can copy the
|
---|
| 202 | images to disk as follows:-</P>
|
---|
| 203 | <DIV ALIGN=LEFT>
|
---|
| 204 | <P ALIGN=LEFT>
|
---|
| 205 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 206 | <TR>
|
---|
| 207 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 208 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 209 | COLOR="BLACK">[boot disk]</FONT><BR><FONT
|
---|
| 210 | COLOR="BLACK">bash# fdformat /dev/fd0u1722</FONT><BR><FONT
|
---|
| 211 | COLOR="BLACK">bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u1772</FONT><BR><BR><FONT
|
---|
| 212 | COLOR="BLACK">[data disk]</FONT><BR><FONT
|
---|
| 213 | COLOR="BLACK">bash# fdformat /dev/fd0</FONT><BR><FONT
|
---|
| 214 | COLOR="BLACK">bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd0</FONT><BR><BR><FONT
|
---|
| 215 | COLOR="BLACK">Replace N with 1, 2, etc. </FONT></TD></TR>
|
---|
| 216 | </TABLE></P>
|
---|
| 217 | </DIV>
|
---|
| 218 | <DL>
|
---|
| 219 | <P ALIGN=LEFT>
|
---|
| 220 | <DT CLASS="mvd-P"><A NAME="TAPENICE"></A><B>Q:</B> My tape drive
|
---|
| 221 | doesn't play nicely with Mondo at boot-time. What do I do?</P>
|
---|
| 222 | <P ALIGN=LEFT>
|
---|
| 223 | <DT CLASS="mvd-P"><B>A:</B> Play with 'mt'. Use its setblksize and
|
---|
| 224 | defblksize switches to reconfigure your tape drive if necessary. Some
|
---|
| 225 | tape drives just suck, I'm sorry to say. If yours is one of them then
|
---|
| 226 | God help you. Mondo can handle any tape drive whose drive and
|
---|
| 227 | firmware can handle fread(), fwrite(), fread() and fclose(). Mondo
|
---|
| 228 | uses standard C libraries to talk to your tape streamer. If your tape
|
---|
| 229 | streamer can't handle that then you had better call a priest. Either
|
---|
| 230 | that or ask for a refund.</P>
|
---|
| 231 | </DL>
|
---|
| 232 | <DIV ALIGN=LEFT>
|
---|
| 233 | <P ALIGN=LEFT>
|
---|
| 234 | <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
|
---|
| 235 | <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Footer navigation table">
|
---|
| 236 | <TR>
|
---|
| 237 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 238 | <P ALIGN=LEFT>
|
---|
| 239 | <A HREF="faqgeneral.html" ACCESSKEY="P">Prev</A></TD>
|
---|
| 240 | <TD WIDTH="34%" VALIGN=TOP>
|
---|
| 241 | <P ALIGN=CENTER>
|
---|
| 242 | <A HREF="index.html" ACCESSKEY="H">Home</A></TD>
|
---|
| 243 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 244 | <P ALIGN=RIGHT>
|
---|
| 245 | <A HREF="faqinstallation.html" ACCESSKEY="N">Next</A></TD>
|
---|
| 246 | </TR>
|
---|
| 247 | <TR>
|
---|
| 248 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 249 | <P ALIGN=LEFT>
|
---|
| 250 | General</TD>
|
---|
| 251 | <TD WIDTH="34%" VALIGN=TOP>
|
---|
| 252 | <P ALIGN=CENTER>
|
---|
| 253 | <A HREF="faq.html" ACCESSKEY="U">Up</A></TD>
|
---|
| 254 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 255 | <P ALIGN=RIGHT>
|
---|
| 256 | Installation</TD>
|
---|
| 257 | </TR>
|
---|
| 258 | </TABLE>
|
---|
| 259 | </BODY>
|
---|
| 260 | </HTML>
|
---|