hda1 does not exist
Hi,
I thinks its a common problem since I came across multiple forums regarding this problem. (wasnt able to solve it) Anyway here is the case: I wanted to try linux, so I downloaded the new Debian distro and installed it on my laptop. No problem here. The problem starts when linux tells me the installation is complete and I have to reboot. So I reboot, come across the Grub loader and press "return" to start the OS. Now the problem appears. ALERT! /dev/hda1 does not exist and drops to shell. In my dev dir I cannot ls on hd* (it doesnt find anything) but I can find sd* Now I tried editing the GRUB loader to load sd instead of hd, but editing the GRUB doesnt seem to save the changes (besides, I wasnt sure if that was going to work). I read something about editing my /boot/grub/menu.lst, but the /boot dir doesnt exist, and typing vi /boot/grub/menu.lst opens an empty file. So in short I do have a working computer but not a working Debian installation since it cant seem to find my HD. Is there any solution (besided dropping linux instantly and returning to windows). |
are you installing debain etch or lenny?you say when you edit grub and replace hda with sda it boots?
|
first try to mount sda
Code:
mkdir mount |
Quote:
Quote:
Mounting /dev/sda1 on /mount failed: No such file or directory. Tried sda2 and sda5 as well without any luck. |
Quote:
Quote:
What else do you have on the computer? Any other OS's or just the new Debian install? |
Quote:
Quote:
|
at grub..when you enter "e"..and edit to sda..then boot..will it load the kernel and start to boot..??but then error out about cant find hda1..if grub has your drive listed as sda then fstab will probably have partitions as sda to..if you cant use nano or vi to edit menu.lst or /etc/fstab..you can download a live cd like puppy..its a small download..boot into puppy and mount the drive from puppy then edit your menu.lst and fstab..or download lenny and install lenny..etch is old..and lenny will be stable soon anyway.lenny might recognize your hard drive better
|
try fdisk -l to see if we can get a listing of what the drives are really labeled. Is the drive a sata or pata drive?
|
Quote:
When in grub, pressing "e", edit and then boot there is no change in how linux boot. The same error, same messages, same text. I thought I downloaded the latest release with etch, but sees like lenny is even newer. My laptop is about 3 years old now. I dont know for sure but I would think my drive is recognizable enough? But I will try and install Lenny. Since linux wont boot anyway, things can hardly get worse :P. |
Quote:
Try changing the recipe to Code:
mkdir /mount You will probably need to be root to do this. Try it using /dev/sda1 and /dev/hda1. As jstephens84 says, try fdisk -l, as root. Also, Code:
grep hda /var/log/messages --- rod. |
Quote:
|
Quote:
Tx all for help and commands |
Quote:
|
All times are GMT -5. The time now is 05:07 PM. |