General TC > International Talk

Tiny core Problem z instalacja.

<< < (3/4) > >>

jacej6490:
tc@box:~$ sudo su
root@box:~# fdisk -lu /dev/hda

Disk /dev/hda: 15.3 GB, 15307407360 bytes
16 heads, 63 sectors/track, 29660 cylinders, total 29897280 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/hda1   *          63    27344015    13671976+ 83 Linux
/dev/hda2        27344016    29897279     1276632  82 Linux swap
root@box:~#




root@box:~# fdisk -l

Disk /dev/hda: 15.3 GB, 15307407360 bytes
16 heads, 63 sectors/track, 29660 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/hda1   *           1       27127    13671976+ 83 Linux
/dev/hda2           27128       29660     1276632  82 Linux swap

Disk /dev/loop0: 0 MB, 221184 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/loop0 doesn't contain a valid partition table
Note: sector size is 4096 (not 512)

Disk /dev/ramzswap0: 123 MB, 123359232 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes

Disk /dev/ramzswap0 doesn't contain a valid partition table

Disk /dev/loop10: 0 MB, 512000 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/loop10 doesn't contain a valid partition table

Disk /dev/loop20: 0 MB, 425984 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/loop20 doesn't contain a valid partition table

Disk /dev/loop30: 0 MB, 311296 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/loop30 doesn't contain a valid partition table
root@box:~#

jacej6490:
I mean that I have a problem with the installation of grub. After restarting the computer shows me this screen

    GNU GRUB  version 0.97  (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>


grub installed as the user so everything should be fine

maro:
So what it the content of your GRUB config file (e.g. '/boot/grub/menu.lst') and is it on the intended file system (e.g. '/dev/hda1')? Are the kernel (i.e. 'bzImage') and the initrd (i.e. 'tinycore.gz') where they are expected to be (e.g. in the '/boot' directory on '/dev/hda1')?

My impression is that GRUB does not find the config file. This could be the result from an issue during the GRUB installation (e.g. with root (hd0,0) and setup (hd0)) and now it's "a bit lost".

When you get to the GRUB prompt (as you currently are) you have the option to interactively use commands like 'kernel ...', 'initrd ...', and 'boot' to achieve the same as what a GRUB config file does. The critical thing is to identify and set the so called 'root' file system before using those commands.

If you are not familiar with this process I'll have to do some digging to find some suitable reading material for you. But first check those things I've mentioned above.

jacej6490:
the command vi / mnt/hda1/boot/grub/menu.lst
This fits:
default 0
timeout 10
tinycore title
kernel / boot / bzImage quiet
initrd / boot / tinycore.gz

and in the instructions it says press ESC to exit Eby and X. And I have a problem with that. Eby get out of this command push button ctr + Z. I'm not sure if I save. And then I walk proceed using grub. and entered komedny
root (hd0, 0)
setup (hd0)
quit
as it is in the user

jacej6490:
my grub:
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version