So far I've got some improvement, but I'm still stuck on the grub installation process.

 

I followed the steps you listed bellow, but on knoppix environment, instead of Debian Installation CD

2) orient yourself in the partitions with fdisk -l /dev/hda

2) mount /dev/hda1 /mnt

3) chroot /mnt

4) grub-install

 

On the 4th step, I ran grub-install and got this error message

 

Knoppix:/# grub-install /dev/hda

/sbin/grub-install: line 1: sort: command not found

/sbin/grub-install: line 1: uniq: command not found

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 1: expr: command not found

/sbin/grub-install: line 472: test: -gt: unary operator expected

/sbin/grub-install: line 485: test: -eq: unary operator expected

/sbin/grub-install: line 502: which: command not found

 

 

    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 

[ Minimal BASH-like line editing is supported.  For the first word, TAB

   lists possible command completions.  Anywhere else TAB lists the possible

   completions of a device/filename. ]

grub> root (hd0,)

 

Error 12: Invalid device requested

grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)

 

Error 12: Invalid device requested

grub> quit

 

 

 

 

Furthermore, on debian CD installation, I skip to another terminal, alt+f2, and tried to orient myself where and what are the partitions, but the hda device (the hard disk), is not recognized, I tried to mount it up, but it says there are no such file or directory.

 

 

Any clues,

iuri

 

 


From: Iuri Sampaio [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 1:29 AM
To: debian-user@lists.debian.org; debian-boot@lists.debian.org
Subject: booting up the system

 

I've installed on my machine a dual boot system, one to debian and other windows .

 

But I reinstalled my windows OS and now I lost lilo boot loader and I can boot my linux.

 

Do you know a way to get into my debian box? Then I am able to install lilo over again on the master boot sector or even better to install it on a floppy disk?

I need mount my system up from the boot loader and install the lilo.

 

 

Any clue? How do I visualize the partitions are one my hard disk and their names.

I tried to get it through the CD Installation Boot. I ran the expert mode installation and then the shell command. I ran cat/etc/fstab But I don't have the devices hda/ and its respectives partitions. I have only the CDRoom partitions and names.

 

I need to figure out where is which partition, for example something to return to me like a df –h on my hard disk would do it.  

      hda3 primary /

      hda4 logical /boot

      hda5 logical /home

      hda6 logical /var

      hda7 logical /swap

Then I will be able from the boot installation cd, run a boot command tom kernel on my hard disk at /.

Something like:

boot /boot/vmlinuz root=/dev/hdb1 rootdev=/dev/hdb2

 

 

iuri

 

Reply via email to