LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2009, 10:04 PM   #1
msc8127
Member
 
Registered: Jan 2009
Posts: 42

Rep: Reputation: 15
boot info script question


i installed slackware13 onto partition 3 of my hard drive which has vista and debian lenny working on it.

I ran boot info script to try to get the information to boot slackware but had no luck.

Can someone please check my boot info script and see if you can help me figure out what I should have in my boot list to make slackware boot?

============================= Boot Info Summary: ==============================

=> No boot loader is installed in the MBR of /dev/hda
=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #4 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files/dirs: /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd
/boot/BCD /BOOT/BCD /Boot/BCD
/Windows/System32/winload.exe
/WINDOWS/system32/winload.exe
/WINDOWS/SYSTEM32/winload.exe
/windows/system32/winload.exe

sda2: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda3: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type 'ext4'

sda4: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 5.0
Boot files/dirs: /boot/grub/menu.lst /etc/fstab

=========================== Drive/Partition Info: =============================

Drive: hda ___________________ _____________________________________________________
Note: sector size is 2048 (not 512)

Disk /dev/hda: 677 MB, 677857280 bytes
255 heads, 63 sectors/track, 20 cylinders, total 330985 sectors
Units = sectors of 1 * 2048 = 2048 bytes

Partition Boot Start End Size Id System

Invalid MBR Signature found


Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8f800200

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 312,512,444 312,510,397 7 HPFS/NTFS
/dev/sda2 312,512,445 322,279,964 9,767,520 82 Linux swap / Solaris
/dev/sda3 322,279,965 400,404,059 78,124,095 83 Linux
/dev/sda4 400,404,060 625,137,344 224,733,285 83 Linux


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="6474E6DE74E6B24A" TYPE="ntfs"
/dev/sda2: TYPE="swap"
/dev/sda3: UUID="ab458d46-6d3a-4bab-ab7a-853c5f89dbf1" TYPE="ext4"
/dev/sda4: UUID="27ab8484-a556-43e6-a18b-f20bb113b930" TYPE="ext3"

=============================== "mount" output: ===============================

/dev/sda4 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)
procbususb on /proc/bus/usb type usbfs (rw)
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)


=========================== sda4/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-legacy-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'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
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/sda4 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,3)

## 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=quiet

## 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=(single-user 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 Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,3)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda4 ro quiet
initrd /boot/initrd.img-2.6.26-2-686

title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda4 ro single
initrd /boot/initrd.img-2.6.26-2-686

title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,3)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/sda4 ro quiet
initrd /boot/initrd.img-2.6.26-1-686

title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/sda4 ro single
initrd /boot/initrd.img-2.6.26-1-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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1


=============================== sda4/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda4 / ext3 errors=remount-ro 0 1
/dev/sda2 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

=================== sda4: Location of files loaded by Grub: ===================


249.7GB: boot/grub/menu.lst
249.7GB: boot/grub/stage2
249.8GB: boot/initrd.img-2.6.26-1-686
249.7GB: boot/initrd.img-2.6.26-2-686
249.7GB: boot/initrd.img-2.6.26-2-686.bak
249.7GB: boot/vmlinuz-2.6.26-1-686
249.7GB: boot/vmlinuz-2.6.26-2-686
249.7GB: initrd.img
249.8GB: initrd.img.old
249.7GB: vmlinuz
249.7GB: vmlinuz.old

Thanks for any help!
 
Old 08-29-2009, 10:48 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Did you run Boot Info from your debian install or somewhere else because it doesn't appear to understand EXT4 on sda3 and I am assuming this is your slackware partition? Would help to know exactly where slackware is. Anyway you might just have to manually create an entry for slackware in menu.lst but that does mean having to search for the slackware kernel what in turn means you would possibly have to get some support for ext4 compiled into debian.
 
Old 08-29-2009, 10:50 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,634

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
Didn't know bootinfo didn't handle ext4 - you should open a bug report against it.
Did you install a bootloader with Slack ?. If so presumably you installed it to a (root ?) partition - true ?.
 
Old 08-29-2009, 11:10 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,009

Rep: Reputation: 282Reputation: 282Reputation: 282
boot into slackware with the installation cd, in a terminal as root run liloconfig to install lilo to root directory of slackware partition and then chainload to the partiton using debian grub

Last edited by colorpurple21859; 08-29-2009 at 11:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to get linux administrator script, ex: script to let's user change user info. hocheetiong Linux - Server 1 03-17-2008 12:06 AM
Logon script info snuffy115 Linux - Networking 3 01-27-2007 11:56 PM
Newbie question - running a script at boot time Napalm Llama Red Hat 8 04-19-2005 03:11 PM
Boot Error Info. Request question. rvijay Linux - Newbie 1 09-29-2003 11:45 PM
Boot script question richk Linux - General 1 02-06-2002 11:32 AM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration