Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changed the hard drive, how to boot now?

Status
Not open for further replies.

arlequin

Programmer
Sep 21, 1999
232
UY
Hello, there!

I used to have my linux hard drive in as slave at the second IDE controller:

/dev/hdd

And the root partition was in /dev/hdd2

Now, I put the linux hard disk as slave at the first IDE controller... I guess it would be /dev/hdb and the root partition at /dev/hdb2

The problem is I have no LILO at the MBR of the Win98SE hard disk (/dev/hda1), I am using a boot diskette created at set up process and LILO in the diskette always looks for the root partition at /dev/hdd2.

I've tried to pass LILO some commands when it shows me the "boot:" prompt (withouth quotes)

root=/dev/hdb2
root=hdb2
"root=/dev/hdb2"
"root=hdb2"
append root=/dev/hdb2

etcetera... without success... :-(

Lilo (always from the diskette) says
"I cannot find image at root=hdb.2" and so on...

Which is the correct command line?

[red]Distro: Debian GNU/Linux Woody 3.0_R_0[/red]

Thanks a lot. Arlequín
arlequin@montevideo.com.uy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top