On Friday 06 May 2005 17:14, Andre M�ller wrote:
> Cedric wrote:
> > Hi all,
> >
> > I've just bought a shiny new 160GB HD, copied my linux stuff to it, ran
> > grub, and rebooted.
> >
> > Grub doesn't start of this new HD, normally i should get something like:
> > Grub loading stage2 ........ and then the menu.
> >
> > I get absolutely nothing, not even Grub.
> >
> > After this i installed windows2000 on the drive, and the bootloader of
> > windows works fine. Then i reinstalled grub by using knoppix, but when i
> > reboot i again get nothing, not even Grub.
>
> starting off with the obvious:
> did you run
>
> setup(hd0)
> root(hd0,2)
>
> in grub?
>
> best,
>
> andre

Nope, i want to boot from /dev/hda4, so i had the following conversation with 
grub:

grub> root (hd0,3)
 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... no
 Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 
p /boot/grub/menu.lst ".
.. succeeded
Done.

Now i removed the floppy, and rebooted.
After my bios has detected the HD i hear a click from my HD, and at the same 
time the cursor drops one line. After that nothing

Now i copied the /boot directory to /dev/hda3 and ran grub again:
grub> root (hd0,2)
 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... no
 Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 
p /boot/grub/menu.lst ".
.. succeeded
Done.

Now i removed the floppy, and rebooted.
After my bios has detected the HD i hear a click from my HD, and at the same 
time the cursor drops one line. After that nothing

When started from the floppy the kernel correctly identifies the drive:
Probing IDE interface ide0...
hda: ST3160023A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<snip>
hda: max request size: 1024KiB
hda: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63, 
UDMA(100)
hda: cache flushes supported
 hda: hda1 hda3 hda4

I never had these problems with my other 40Gig drive, so i suspect that grub 
has some problems with the size of the new drive.

regards, 
cedric
>
> > I have made a grub floppy, so i can still boot linux
> >
> > One weird thing is that drive management sees this drive as a 130GB disk,
> > and linux as a 160GB disk.
> >
> > here's the partition layout:
> > Disk /dev/hda: 160.0 GB, 160041885696 bytes
> > 255 heads, 63 sectors/track, 19457 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/hda1   *           1        1275    10241406    c  W95 FAT32 (LBA)
> > /dev/hda3            2551        3188     5124735   83  Linux
> > /dev/hda4            3189       19457   130680742+  83  Linux
> >
> > and menu.lst:
> > # Begin /boot/grub/menu.lst
> >
> > # By default boot the first menu entry.
> > default 0
> >
> > # Allow 30 seconds before booting the default.
> > timeout 30
> >
> > # Use prettier colors.
> > #color green/black light-green/black
> >
> > title LFS-6
> > root (hd0,3)
> > kernel /boot/2.6.10-02 root=/dev/hda4 ro acpi=force vga=0x31a
> >
> > title LFS-6_test
> > root (hd0,2)
> > kernel /boot/2.6.10-05 root=/dev/hda3 ro acpi=force vga=0x31a
> >
> > title Windows
> > rootnoverify (hd0,0)
> > chainloader +1
> >
> >
> > Any ideas?
> >
> > Kind regards,
> > Cedric
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to