How to boot from a secondary hard drive from Knoppix?
Bill Davidson
harley7
Tue Jan 25 10:50:35 PST 2005
On 20:20 Mon 24 Jan , Leon Goldstein wrote:
> Jesus Antonio Santos Giraldo wrote:
>
> >Hi all,
> >
> >I managed to fry my first IDE Hard Drive (I think), where LILO was
> >installed.
> >
> >My linux partitions are in my second hard drive and I hope they are intact.
> >
> >So how to boot my linux system which is in my second hard drive if I can't
> >boot from my primary hard drive (the suspected fried one)?
> >
> >Hint: I can boot a Knoppix/Damn-small CD and I'm actually trying to figure
> >it out how to acomplish this.
> >
> Boot up Knoppix, check how Knoppix identifies your drives by looking at
> the properties of the drive/partition icons. Next, open a terminal and
> obtain Knoppix root privileges with the command: sudo su
> Then command changeroot /dev/hdbX (where X is the partition you want to
> work in).
>
> SORRY: that should be chroot, not changeroot.
You need to mount it first. AFAIK you can't chroot into a raw device.
Also, if you want to boot into your system(not from knoppix), you could edit
lilo.conf and change the boot option to "boot=/dev/fd0" and install lilo onto
a floppy.
At least I think that's how it's done. HTH.
Bill
More information about the Linux-users
mailing list