Re: booting up the system



On Mon, Aug 21, 2006 at 02:10:21AM -0300, Iuri Sampaio wrote:
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



[ snip many linesof commands not found ]

have you fully setup the chroot environment? Do you have /usr on a
seperate partition? you need to mount your partitions (especially
probably /usr, /boot etc) within the chroot before stuff works
correctly. I would do it from outside the chroot before chrooting in
to the environment.

for example, in my setup I would

mount /dev/hda2 /mnt
mount /dev/hda1 /mnt/boot
mount /dev/hdb3 /mnt/usr
...
chroot /mnt

your setup will obviously be different.


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.




I think (not positive) that you need to work your way through the
installer until it launches the partitioner, at that point you can be
sure that the system is set up to see the harddrive. Or you could
manualy insmod or modprobe the modules required to see your hard disk.

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Invocation of applications which require root permitions
    ... During installation, I typed the root password and later made the first user. ... because the custom one allows you to choose and edit partitions and avoids that problem. ... What it leads me to say, is that during the several I did with Ubuntu among which half a dozen just for tests and explore the install possibilities, expert mode would never ruin a user's caracteristics. ...
    (Ubuntu)
  • Re: Cant delete partition
    ... >>2000 Pro on it. ... I would delete all of the partitions ... >>Pro installation, and all of the files on that ... >you would use a floppy to boot your system. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: suggestion on formatting Win2003 hard drive for rebuild
    ... I simply use installation wizard. ... You will have an option to delete and create partitions (look ... Microsoft MVP - Windows Security ... >>> boot files left, etc. ...
    (microsoft.public.windows.server.general)
  • Re: Mandrake 10.0 download and install
    ... page that pops up to the list of mirrors. ... For a 1st try at Linux, I wouldn't worry much about customizing your ... These partitions and sizes have worked well for me using ... If you want share files with your Windoze installation, ...
    (comp.os.linux)
  • Re: Goals for the year
    ... my installation? ... the thing I don't want to do is mess up my suse partitions ... but only if it just messes up the FreeBSD stuff. ... trying to put Mandrake as a tri boot just installed over my suse ...
    (alt.os.linux.suse)