mark@hammerhead:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hdb1 /backups ext3 rw,user,auto 0 0
mark@hammerhead:~$ cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0,
and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default
entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hdb5 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,4)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Chainload into GRUB 2
root (hd1,4)
kernel /boot/grub/core.img
title
��������������������������������������������������������������������
root
title When you have verified GRUB 2 works, you can use this command
to
root
title complete the upgrade: upgrade-from-grub-legacy
root
title
��������������������������������������������������������������������
root
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd1,4)
linux /boot/vmlinuz-2.6.26-1-686 root=/dev/hda5 ro
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.26-1-686 (recovery mode)
root (hd1,4)
linux /boot/vmlinuz-2.6.26-1-686 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.21-2-686
root (hd1,4)
kernel /boot/vmlinuz-2.6.21-2-686 root=/dev/hdb5 ro
initrd /boot/initrd.img-2.6.21-2-686
title Debian GNU/Linux, kernel 2.6.21-2-686 (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.21-2-686 root=/dev/hdb5 ro single
initrd /boot/initrd.img-2.6.21-2-686
title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd1,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdb5 ro
initrd /boot/initrd.img-2.6.18-4-686
title Debian GNU/Linux, kernel 2.6.18-4-686 (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdb5 ro single
initrd /boot/initrd.img-2.6.18-4-686
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
#title Other operating systems:
#root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
#title Microsoft Windows XP Professional
#root (hd0,0)
#savedefault
#makeactive
#chainloader +1
mark@hammerhead:~$ mount
/dev/hda5 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/hdb1 on /backups type ext3 (rw,noexec,nosuid,nodev)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
mark@hammerhead:~$
and the relevant info from dmesg for the ids controller card
SiI680: IDE controller at PCI slot 0000:01:07.0
ACPI: PCI Interrupt 0000:01:07.0[A] -> GSI 16 (level, low) -> IRQ 16
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 16
ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: ST3200822A, ATA DISK drive
usb 1-1: new low speed USB device using uhci_hcd and address 3
hdb: WDC WD2500AAJB-00J3A0, ATA DISK drive
ide0 at 0xf881cc80-0xf881cc87,0xf881cc8a on irq 16
Probing IDE interface ide1...
ACPI: PCI Interrupt 0000:01:0c.0[A] -> GSI 18 (level, low) -> IRQ 18
hda: max request size: 64KiB
hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63,
UDMA(100)
hda: cache flushes supported
hda:<6>e1000: 0000:01:0c.0: e1000_probe: (PCI:33MHz:32-bit)
00:08:74:cc:70:ed
hda1 < hda5<6>e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network
Connection
usb 1-1: configuration #1 chosen from 1 choice
hda6 >
so that is working...
The menu.lst is strange....but I tried changing root (hd1,4) to root(hd0,4)
or root(hd0,msdos5) which actually gets the machine to boot from the grub
prompt, and it does not boot. And for some reason /initrd.img-2.6.26-1-686
is broken; unreadable, at least from the grub prompt. I can only boot from
2.6.21.
Thanks for you help!
Mark
On Mon, Mar 28, 2011 at 5:12 PM, Tim <[email protected]> wrote:
> Glad to hear you got it booting. Now that you're this far, can you
> send us your /etc/fstab and /boot/grub/menu.lst files? Also, if you
> suspect that some partitions aren't mounting properly (possibly
> causing X/mysql/etc to fail) please include the output of the 'mount'
> command so we can see what succesfully mounted.
>
> thanks,
> tim
>
>
> On Mon, Mar 28, 2011 at 05:04:50PM -0700, Mark Phillips wrote:
> > I have made some progress.... When I use these parameters at the grub
> > prompt, the machine boots. X is dead, and so is mysql...not sure why,
> yet.
> > However, I cannot change menu.lst to reboot....I always get tossed out to
> > the grub menu.
> >
> > grub> root(hd0,msdos5) //msdos5 comes from tab completion and is the
> > only option
> > grub> linux /boot/linux-2.6.21.1-686 root=/dev/hda5
> > grub> initrd /boot/initrd-2.6.21.1-686
> > grub>boot
> >
> > Any thoughts or suggestions?
> >
> > Thanks,
> >
> > Mark
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug