LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2005, 04:34 PM   #16
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15

i boot exactly how you want to, from a floppy, first i used lilo but then i changed to grub, i paste here the two, obviously make the changes for your system, specially take care with Grub

Code:
boot=/dev/fd0
prompt
timeout=30
default=Gentoo

image=/boot/kernel-2.6.11-gentoo-r4
label=Gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8192 real_root=/dev/hda4"
initrd=/boot/initrd-2.6.11-gentoo-r4

other=/dev/hda1
label=Windows

Grub:

Code:
default 0
timeout 4
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo
root (hd0,1)
kernel /vmlinuz root=/dev/hda4 vga=0x31A video=vesa:1280x1024@60
initrd (hd0,1)/my-bootsplash-1280x1024

#Windows
title=Windows Xp
root (hd0,0)
makeactive
chainloader +1
 
Old 06-11-2005, 09:12 AM   #17
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
Sorry it's been a couple of days, i'm back to it now.

I need to know if there's and additional command in lilo
to bring up the boot menu when i boot into linux. Right now it just boots linux normally
bypassing any choice in the matter.
 
Old 06-11-2005, 06:20 PM   #18
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
im not quite sure what you're asking, but...

could you post your lilo.conf? i dont know if this is the problem, do you have the "prompt" option in your .conf? or maybe its your timeout, timeout=30 its actually only 3 seconds, so if you put less its too fast to even be showed.
 
Old 06-11-2005, 06:53 PM   #19
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
ok , dumb question. What's a good way to grab text? So that i can post my lilo file.
should i echo lilo.conf >> a text file?
 
Old 06-11-2005, 07:03 PM   #20
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
that be useless, because lilo.conf its already a text file, but i know what you mean, i dont know how to do that either, i know how to copy/paste from console to console, but no how to do it from console to something grpahic, if you happen to have gvim or some graphic text editor it'll be just as easy as in Windows, but i dont think you have any like them, you would'nt be asking that, ii guess :$
 
Old 06-11-2005, 07:14 PM   #21
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Code:
$cat /etc/lilo.conf
Or you could just open /etc/lilo.conf in a text editor
Select the text and go through the method copy and paste, or if you have a 3 button mouse, select the text and then press the middle mouse button to paste very very quick and handy!

edit: don't type the $ in the command btw, just to say do this at the shell ($ usually means normal user, # means root fyi)

Last edited by tomj88; 06-11-2005 at 07:15 PM.
 
Old 06-11-2005, 07:23 PM   #22
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
wow, thanks! (for the 3rd button paste advice ) didnt know that
 
Old 06-11-2005, 07:29 PM   #23
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
heres some other shell tips (for bash), if you start to type the name of your favourite command, say for instance apt-get, if you type apt-g and then press the tab button on your keyboard, bash will complete the name of the command! If what you type is not individual, pressing tab does nothing, but pressing it for a second time will list all possible commands so ap then tab will give you a list of possibilites. This also works for file names. If you are at / and you type cd h then press tab, it will complete the command so you will have cd /home
 
Old 06-11-2005, 07:38 PM   #24
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
ok, switching drives, brb!
 
Old 06-11-2005, 07:53 PM   #25
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
zoinks. how do i copy text? I can select it, dont know how to copy into memory...
 
Old 06-11-2005, 08:01 PM   #26
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
open a console, such as xterm or Eterm, and select the text with your mouse, when you do that its copied to the memory and then come here and to paste it you click the 3rd button of your mouse, like tomj88 explained above
 
Old 06-11-2005, 08:09 PM   #27
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
All Righty Then!

/etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt', or install a new kernel. The |
# | computer will most likely fail to boot if a kernel-image |
# | post-install script or you don't remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+

# Support LBA for large hard disks.
#
lba32

# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
disk=/dev/hdb
bios=0x80


# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hdb

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hdb1

# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller. Using `compact' is especially recommended when
# booting from a floppy disk. It is disabled here by default
# because it doesn't always work.
#
# compact

# Installs the specified file as the new boot sector
# You have the choice between: bmp, compat, menu and text
# Look in /boot/ and in lilo.conf(5) manpage for details
#
install=/boot/boot-menu.b

# Specifies the location of the map file
#
map=/boot/map

# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20

# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
# prompt
# single-key
# delay=100
# timeout=100

# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=9
#
vga=normal

# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""

# Boot up Linux by default.
#
default=Linux

image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
other=/dev/hda1
label="windows"
# restricted
alias=3

Linux recognized windows, windows doest recognize Linux
 
Old 06-11-2005, 08:26 PM   #28
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
i think you need to make these changes

Quote:
Originally posted by lokizen
[B]All Righty Then!
# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/fd0 <---- your diskette drive

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hdb1 <--- be sure thats you Linux partition
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20 <--- thats only 2 seconds, increase this value

# Boot up Linux by default.
#
default=Linux

image=/vmlinuz <---- is this correct in Debian? isnt supossed to be /boot/vmlinuz
label=Linux
read-only
# restricted
# alias=1

image=/vmlinuz.old <------ same here
label=LinuxOLD
read-only
optional
# restricted
# alias=2
remember, after making the changes i suggested, im not sure if they will work, run /etc/lilo to create your boot diskette

Last edited by NooDleZ; 06-11-2005 at 08:30 PM.
 
Old 06-11-2005, 09:04 PM   #29
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
I think the vmlinuz is correct, i didnt change that but made the other changes,
fd0 as boot didnt work, and Linux booted normally, no os menu choice.
I did iron out the resolution for my display a bit tho!
 
Old 06-11-2005, 09:37 PM   #30
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
Quote:
Originally posted by lokizen
I think the vmlinuz is correct, i didnt change that but made the other changes,
fd0 as boot didnt work, and Linux booted normally, no os menu choice.
I did iron out the resolution for my display a bit tho!
uhmm did you change your BIOS setting to boot from your floppy?
 
  


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
Best method for dual boot with dual hard drive? aidano Linux - Software 2 11-16-2006 01:04 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 04:13 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 10:15 PM
Replacing floppy with flash drive for dual boot jogger Linux - General 1 03-22-2005 11:53 AM
Dual Boot LILO w/ no Floppy Drive aragonh Slackware - Installation 1 11-14-2004 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:47 PM.

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