04-03-2009
i.e. your ubuntu partition is /dev/sda2. you could press 'e' and input commands after the selection.
root (hd0,1)
kernel /boot/vmlinuz-xxx
initrd /boot/initrd-xxx.img
and then you could boot the system to repair the grub installation by $grub-install script.
you'd better make the ubuntu partion active and install the grub stage1 code on the first sector of /dev/sda2
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have installed windows on this c: drive
i have linux installed on drive d:
when i disconnect d: it boots into c: into windows
when i have both drives connected it stops after sys check.
how do i get a dual boot goin ???? or a boot loader and if i reinstall linux 7. where should i... (1 Reply)
Discussion started by: perleo
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
One of my frend had a problem.
He had Windows XP installed on his system. Then he installed Red Hat Linux 8.0 in one of the partitions. After some time his XP got corrupt and then he reinstalled Windows XP. This over wrote the Grub loader entry, and due to this the grub loader is not... (2 Replies)
Discussion started by: rahulrathod
2 Replies
3. Shell Programming and Scripting
Hi Guys,
I am looking to develop a SQL Loader script that would bascially allow the user to have a txt file (or such) as an input file containing .sql scripts procedures, triggers, bascially anything against a database that could then be run automatically.
Let me break it down a bit more,... (2 Replies)
Discussion started by: LiquidChild
2 Replies
4. UNIX for Dummies Questions & Answers
Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem:
The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies
5. UNIX for Dummies Questions & Answers
I currently have Gutsy, Fedora Core 7, and Vista running on the same hard disk and want to add XP to it. XP will of course kill my grub which I can get back with supergrub easily. I have no worries that my two Linux Distros will come back when I do this because Grub only points from the mbr to... (2 Replies)
Discussion started by: dancingfool
2 Replies
6. Shell Programming and Scripting
hi all
i am new to shell scripting.
i have 35 flat files delimited files that i have to load in to a table.
i was asked to create a shell script that loads the data into the table...
could you please help me if you have a script.
Also .. how to create logs files...does my sql... (3 Replies)
Discussion started by: rajesh_tns
3 Replies
7. Solaris
Hi to everyone ;)
Yesterday I had to reinstall my dual boot because my bank smart card reader does not work with Solaris so I reinstalled Solaris after I installed Windows 7.
When I turn on PC I get grub stage 2 and Solaris has made an entry in menu.lst but does not boot windows .
Each OS... (4 Replies)
Discussion started by: solaris_user
4 Replies
8. UNIX for Dummies Questions & Answers
HI Experts,
We have a ksh file named ldr_empdelta.ksh and it is having the SQL*LOADER script as follows.
print "LOAD DATA" > $WEDB_GEN/ldrscan.ctl
print "INFILE '"$LED_SCAN"/delta/led_del.dat'" >> $WEDB_GEN/ldrparms.ctl
print "TRUNCATE" >> $WEDB_GEN/ldrscan.ctl
print "PRESERVE BLANKS" >>... (1 Reply)
Discussion started by: ajaykumarkona
1 Replies
9. Red Hat
Hi,
Can we specify which grub.conf to use while installing grub on RHEL.
We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf.
Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies
10. UNIX for Dummies Questions & Answers
can someone please explain me the difference between these two files:
"/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies
LEARN ABOUT DEBIAN
dgetlp
DGETLP(1) General Commands Manual DGETLP(1)
NAME
dgetlp - simulate ``dget'' behaviour for files hosted at librarian.launchpad.net
SYNOPSIS
dgetlp [-d|(-v|-q)] <Launchpad DSC URL>
DESCRIPTION
dgetlp simulates dget behaviour by downloading and extracting the <Launchpad DSC URL> from the Launchpad Librarian.
OPTIONS
Listed below are the command line options for dgetlp:
-h, --help
show this help message and exit.
-d, --debug
Enable debugging.
-v, --verbose
Enable verbose output.
-q, --quiet
Never print any output.
<Launchpad DSC URL>
This is the source package that you would like to be downloaded from the Launchpad Librarian.
EXAMPLE
dgetlp http://launchpadlibrarian.net/10348157/coreutils_5.97-5.4ubuntu1.dsc
AUTHOR
dgetlp was written by Terence Simpson <tsimpson@ubuntu.com> and modified by Siegfried-A. Gevatter <rainct@ubuntu.com>. The python rewrite
was written by Terence Simpson <tsimpson@ubuntu.com> based off the original. This man page was written by Ryan Kavanagh
<ryanakca@kubuntu.org>. Both are released under the GNU General Public License, version 2 or later.
ubuntu-dev-tools 27 August 2008 DGETLP(1)