FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-14-2012, 08:39 PM
Go Linux
 
Default GRUB location on Dual-Boot with TWO hard drives

--- On Sun, 10/14/12, Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:

> From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>
> Subject: Re: GRUB location on Dual-Boot with TWO hard drives
> To: "debian-user" <debian-user@lists.debian.org>
> Date: Sunday, October 14, 2012, 3:24 PM

>
> alternatively you can run one command
>
> su -c gedit
> ***

How about gksu gedit ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1350247186.73637.YahooMailClassic@web163401.mail.g q1.yahoo.com">http://lists.debian.org/1350247186.73637.YahooMailClassic@web163401.mail.g q1.yahoo.com
 
Old 10-14-2012, 08:43 PM
Ralf Mardorf
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sun, 2012-10-14 at 21:36 +0100, Lisi wrote:
> su
> is enough.

No, it should be

su -

> alt-F2
> gksu gedit

That's good

gksu app

my recommendation

su -c app

isn't good.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1350247439.1178.19.camel@localhost.localdomain
 
Old 10-14-2012, 08:49 PM
Ralf Mardorf
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sun, 2012-10-14 at 13:39 -0700, Go Linux wrote:
> --- On Sun, 10/14/12, Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
>
> > From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>
> > Subject: Re: GRUB location on Dual-Boot with TWO hard drives
> > To: "debian-user" <debian-user@lists.debian.org>
> > Date: Sunday, October 14, 2012, 3:24 PM
>
> >
> > alternatively you can run one command
> >
> > su -c gedit
> >
>
> How about gksu gedit ?

I agree, that's better, or kdesu, as Lina already mentioned.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1350247799.1178.21.camel@localhost.localdomain
 
Old 10-15-2012, 05:51 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

Hi Lisi, Brian, Lee, Joe, Neal, Dom, and Ralf,

Your support is very much appreciated. I've read all postings and had
trouble keeping up with replying to all my questions that have been so
very supportive.

I would like to take pause for a moment and kindly update you all on
my situation.

I did install Debain Squeeze. I am very happy. The dual boot menu did
actually work. GRUB presented me with a pre-boot menu BUT as i said
earlier, win2k was not listed in the OS choices as an optional boot.
GRUB did recognize it during the install no no-show at GRUM boot-up
menu time.

I finally found time to respond today and wanted to get this reply out
to the mailing list before 3:00pm Standard time. At 3;00pm standard
time here in the U.S.A., it's 12:00 midnight in Europe and the UK
where a lot of the support is coming from. Therefore the mailing list
tends to slow to a crawl after about 6:00pm eastern time here in the
United States.

Here is where I'm at on the learning curve with Linux. I have in the
past only worked with windows. I'm currently running three systems.
Win2k, winXP and Win7. Linux intrigues me. Has for years but I never
took the plunge until now. I have learned to accomplish many
administrative tasks in windows, I understand the file structure and
how to work with it, have installed and deleted programs, visited
system-edit (when I'm feeling brave), have tweaked the desktop all
all settings etc. etc. I code web pages and currently learning "C"
programming, thus pretty much anything explained to me in windows I
can understand or at least navigate to the instructional destination.

I have received helpful posts from all of our fellow Debian users that
belong no where else except placed in a frame, and hung on a wall in a
museum. Just fantastic and extensive help, suggestions and support.
All presented in such extreme detail with much patience a advice.
Second to none.

The unfortunate part is that I am not a seasoned Linux user and do not
understand the where or how to enter the suggested Syntax to solve or
identify my issue with GRUB not listing win2k in the boot menu.

I will now reply (separately) to each and every post that has yet to
be responded to.

Thanks so much


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CALDXikrAk1NQHkpeFK1y7GVxrC-ZMeKnGCp0+63VK1KkHamUEg@mail.gmail.com">http://lists.debian.org/CALDXikrAk1NQHkpeFK1y7GVxrC-ZMeKnGCp0+63VK1KkHamUEg@mail.gmail.com
 
Old 10-15-2012, 05:59 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sat, Oct 13, 2012 at 1:10 AM, Neal Murphy <neal.p.murphy@alum.wpi.edu> wrote:
> On Saturday, October 13, 2012 12:40:40 AM Wally Lepore wrote:
>> Hi Debain Users,
>>
>> I'm at the final stages of Installing NOT Ubuntu but Debian 'Squeeze'
>> on my dual-boot system. Windows is installed on the 1st hard drive
>> (/dev/sda) and Debian will be installed on the 2nd hard drive
>> (/dev/sdb).
>>
>> The installer is asking me where I want Grub installed. It says:
>>
>>
>> *****BEGIN*****
>> The following other operating systems have been detected on this
>> computer: Microsoft Windows 2000 Professional
>>
>> If all of your operating systems are listed above, then it should be
>> safe to install the boot loader to the master boot record of your
>> first hard drive.
>>
>>When your computer boots, you will be able to choose
>> to load one of these operating systems or your new system. Install the
>> GRUB boot loader to the master boot record? No or Yes ?
>> *****END*****
>>
>> This is the make it or break it point! Debian is installed on my 2nd
>> drive (/dev/sdb) NOT the 1st drive (/dev/sda). I also created a
>> partition on the Debian drive (/dev/sdb) called "/boot". GRUB was to
>> be installed at this /boot location and then I would go into BIOS
>> after install and switch the boot order to boot the Debian drive
>> (/dev/sdb). This would then present the menu for which OS I would like
>> to boot (Windows or Debian).
>>
>> If I choose NO to the installer's question as to placing GRUB in the
>> MBR of the 1st drive. What are my choices as to where to install it? I
>> don't want to answer "NO" to the question only to advance the
>> installer to a dead end. I have no idea what may happen next if I
>> answer NO. Any ideas or suggestions please?
>>
>> Thank you
>
> You may have no choice. I had lenny installed on sda. I tried to install
> squeeze on sdb so I could play with KVM and Xen. Grub *insisted* on installing
> itself to sda regardless of what I told it to do. I had to boot lenny's rescue
> disk several times to fix grub before I gave up.

The Debian installer did recognize win2k and it did give me the option
to install GRUB to another location. No problem with that. I installed
to /dev/sdb

> You may have to pull the first drive during the install. And, if you're lucky,
> your BIOS will set the second drive as the 'first' when you tell it to boot
> from it.
>
> If you find no joy, try grub legacy if it's an option. I *know* legacy works;
> I can make a bootable ISO that uses grub, copy the ISO contents to a flash
> drive and make it bootable with a trivial change, and legacy installs where I
> tell it to, not where it decides to because it knows better.
>
> To be clear, my grub2 problems were with v1.97-1.99; I've not tried it since.
> And probably won't until legacy truly dies (i.e., RH's patch set falls into
> disrepair).
>
> In a short phrase, be prepared to stub your toes some more.

I can boot from either OS. I just change the boot order to whatever
drive (OS) I want to use.

Thanks Neal


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CALDXikrA7d=b97wtNfr8eLSqSHgtqeR8Kz4OtW0nmCgtAROJ2 w@mail.gmail.com
 
Old 10-15-2012, 06:08 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sat, Oct 13, 2012 at 4:14 AM, Joe <joe@jretrading.com> wrote:
> On Sat, 13 Oct 2012 00:40:40 -0400
> Wally Lepore <wallylepore@gmail.com> wrote:
>
>>
>> If I choose NO to the installer's question as to placing GRUB in the
>> MBR of the 1st drive. What are my choices as to where to install it? I
>> don't want to answer "NO" to the question only to advance the
>> installer to a dead end. I have no idea what may happen next if I
>> answer NO. Any ideas or suggestions please?
>>
>
> You have the choice of installing it in the Debian partition, or not at
> all. In the latter case, you will need to boot to Debian from a
> removable drive. This will quickly become tedious. If you install it in
> the Debian partition, you will need to run this bootloader from the
> first stage of the Windows bootloader.

I don't understand. GRUB just needs to be installed in the partition
of the debian drive. That's my understanding.

> What it comes down to is that you need to boot the first stages of one
> of your operating systems and select either to continue to boot it or
> to boot the other.
>
> If you have Windows up to XP, it is fairly simple either way. Windows
> can boot other operating systems easily, though after XP it became much
> harder to edit the bootloader (Windows' 'Grub2 moment'). Up to and
> including XP, it was a matter of editing the boot.ini text file,
> present in the root of the Windows boot partition. Once this file
> includes two or more operating system entries, you will be given a
> small menu with a timeout and default before Windows starts.

Ok I understand.....

> Should you decide to use Grub for the initial boot, and something goes
> wrong that can't be fixed, all versions of Windows can have their
> MBR bootloaders restored from their installation discs, or from a rescue
> disc made from within Windows. Whatever you decide, it is probably
> worth making this rescue disc, as you probably don't have the
> installation disc. Research how to do this and how to make the repair
> before you lose the Internet...

Thank you Joe


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CALDXikqVuvwJsOpN90r3kVsKeG6TYqa7zcQcQQVD+zMznJ9h1 A@mail.gmail.com">http://lists.debian.org/CALDXikqVuvwJsOpN90r3kVsKeG6TYqa7zcQcQQVD+zMznJ9h1 A@mail.gmail.com
 
Old 10-15-2012, 06:17 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sat, Oct 13, 2012 at 12:48 PM, Brian <ad44@cityscape.co.uk> wrote:
> On Sat 13 Oct 2012 at 12:15:25 -0400, Wally Lepore wrote:
>
>> I only have one shot to get this right or else I have to scrub the
>> install and start over.
>
> Please, no! No more installing from you. We are exhausted.

I know but its frustrating on this end. Just tryin' to do the right
thing. Thanks for staying the course with me Brian. ;-)


>> Here is what the new screen is asking:
>>
>> ***** BEGIN *****
>> You need to make the newly installed system bootable, by installing
>> the GRUB boot loader on a bootable device.
>>
>> The usual way to do this is to install GRUB on the master boot record
>> of your first hard drive.
>
> You do not want this.

I totally understand Brian. Thank you for the kindly reminder.

>> If you prefer, you can install GRUB elsewhere on the drive, or to
>> another drive, or even to a floppy.


Done. installed to /dev/sdb as per your advice.


> You are going to take the 'other drive' route.
>
>> The device can be specified using GRUB's "(hdn,m)" notation, or as a
>> device in /dev. Below are some examples:
>
> It doesn't matter whether you use GRUB's notation or the device way.

OK


>> I only have one shot at getting this correct. My 2nd hard drive (that
>> contains Debian) is installed on /dev/sdb and the first partition on
>> that drive is /boot .
>>
>> My Debian hard drive (sdb) is partitioned in the following order:
>>
>> /boot
>> Swap
>> /
>> /var
>> /usr
>> /temp
>> /home
>>
>> Should I simply type hd1,1 OR /dev/sdb in the above box and
>> that should install GRUB to the first /boot partition on the 2nd
>> drive? I want to be sure GRUB gets installed into that first partition
>> (/boot) on drive /dev/sdb. hd,1,1 seems more accurate than /dev/sdb.
>
> Type '/dev/sdb'. Without the quotes. Here is what roughly happens:
>
> Some of GRUB goes in to the MBR.
>
> Some of GRUB is put after the MBR but before the partitions. This is
> known as the embedding area.
>
> GRUB writes a load of files (including grub.cfg) to /boot/grub. It is of
> no importance or concern that /boot is on a separate partition because
> GRUB will find it.


That was amazing! I did not know there was a difference between the
two. Excellent advice. thank you


>> After installation is complete, I will go into my BIOS and change the
>> first boot device to "sdb" (or as BIOS calls it HDD1). I tested this
>> BIOS adjustment a few days ago and the procedure worked fine using two
>> other drives as a test.
>
> We await your announcement of 'success'.


Done. Installed successfully!


> P.S. It is (hd1,1). You really do not want to do put GRUB there. It is
> not the same as /dev/sdb. Honest.

I adhered to your advice and install into /dev/sdb.

Thank you Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CALDXikpv_ikh+LHcT13psfTJ28qtxW0xeLki=jc2HXGB38tSA g@mail.gmail.com
 
Old 10-15-2012, 06:27 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sun, Oct 14, 2012 at 4:34 AM, Joe <joe@jretrading.com> wrote:
> On Sat, 13 Oct 2012 18:49:14 -0400
> Wally Lepore <wallylepore@gmail.com> wrote:
>
>>
>> I can still boot either OS (win2k or Debian) simply by changing the
>> boot order in BIOS. Not a big deal. Sure beats swapping drives in and
>> out of the computer.
>>
> Editing Win 2000 boot.ini:
>
> http://support.microsoft.com/kb/311578
>
> which is Google's first hit for: "windows 2000" "boot.ini"

Hi Joe,

Thanks. I just read the supplied link. The only thing is that I'm dual
booting windows and Debian. I'm not dual booting two MS windows OS's.
Not sure how this would work if I added a Linux Distro to a windows
boot.ini file.

Thank you


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CALDXikqnoWKY5sNyzb8hjP8bcyhDG+tJQ-F0er095kMcJeOOZg@mail.gmail.com">http://lists.debian.org/CALDXikqnoWKY5sNyzb8hjP8bcyhDG+tJQ-F0er095kMcJeOOZg@mail.gmail.com
 
Old 10-15-2012, 06:44 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

>On Sun, Oct 14, 2012 at 4:45 AM, Lisi <lisi.reisz@gmail.com> wrote:
>> On Sunday 14 October 2012 00:41:46 Wally Lepore wrote:
>>
>> Now I can finally join the ranks of Debian users and ask operational
>> questions, help others and start the real uphill climb in learning all
>> aspects of linux. A lot more reading and studying for sure - forever.
>>
>> Right off the bat I've encountered the following 'oddities'.
>> 3) Google gmail locks up when I visit the page to check my mail.
>
>
> Which browser?

I'm only using the browsers that installed with the debian netinst
file. Empathy and Iceweasel. They both play videos in a jagged slow
motion with no audio. I'm searching for where to configure the audio.
Still finding my way around. Appreciate any suggestions.


>> I kindly thank all who have endured and answered my questions from the
>> beginning to end.The advice given on this mailing list is superb!
>
> You're very welcome! And yes, it is. We have some real experts here.

Yes you certainly have.

Thank you


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CALDXikr6u5SP7Ya7v3-3V8BJbU2JQfwzq61b45ch-OXK2MemOQ@mail.gmail.com">http://lists.debian.org/CALDXikr6u5SP7Ya7v3-3V8BJbU2JQfwzq61b45ch-OXK2MemOQ@mail.gmail.com
 
Old 10-15-2012, 06:59 PM
Wally Lepore
 
Default GRUB location on Dual-Boot with TWO hard drives

On Sun, Oct 14, 2012 at 5:36 AM, Brian <ad44@cityscape.co.uk> wrote:
>> On Sat 13 Oct 2012 at 18:49:14 -0400, Wally Lepore wrote:
>>
>> Debian Squeeze installed successfully !
>>
>> The dual-boot did not work but I can boot into either Win2k or Debian
>> simply by changing the boot order in the BIOS (hdd-0 or hdd-1). When
>> I set Debian (hdd-1) as 1st boot device I do receive a menu that asks
>> which OS I would like to boot but Win2k (hdd-0) is not offered as a
>> choice. Its missing.
>
> It's not unknown for the installer to not record an OS in the GRUB menu
> even when it detects its presence. The guide does remark that this
> process is still something of a "black art".
>
>> The only choices presented are Debian Squeeze and Debian Recovery. I
>> guess the fact that I did not put GRUB on the win2k drive (hdd-0) is
>> probably why win2k is not offered as an optional OS to boot. However,
>> based on the suggestions from the helpful replies I have received and
>> reading the online tutorials, everyone has suggested the same thing,
>> "Don't put Grub on the windows drive". That is good enough advice for
>> me! Who knows what could have happened!
>
> Probably nothing disastrous. The Windows boot loader would have been
> wiped out, of course, but if there had been no Windows entry in the
> GRUB menu, it is recoverable. As we shall see.
>
>> I can still boot either OS (win2k or Debian) simply by changing the
>> boot order in BIOS. Not a big deal. Sure beats swapping drives in and
>> out of the computer.
>
> Login as root and run the command
>
> update-grub


Hi Brian,

My system won't let me log in as root.

I'm just learning to navigate the desktop. Where do I type
update-grub? I understand that Linux distro's utilize what's called a
"terminal". I believe I found the terminal under..... Applications-->
Accessories--> Terminal. Is this correct or is there another location
please?

If it is the correct location, then as soon as the terminal opens, I'm
presented with:

[my-name]@[network-computer-name]:~$ (blinking cursor)

I know I can go to the menu in terminal under.....Terminal-->Reset and
Clear and it will just give me a terminal window with a blinking
cursor.

But the fact is I'm not logged in as 'root'. I read doing so can
compromise your system. Also read that after the initial install of
Debian, the user can't log into root. The user has to configure the
system to log-into root.

What next please?


> Watch the screen for a mention of "Microsoft Windows 2000 Professional".
> Check for a Windows entry in /boot/grub/grub.cfg with
>
> less /boot/grub/grub.cfg
>
> If it there it should be offered as an option when you reboot.

Okay but I need to log-into root.

Thanks Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CALDXikrmrQgVSJzL7Mw-8x1D2G68nQoefdeVcjqn67S6zm3bwg@mail.gmail.com">htt p://lists.debian.org/CALDXikrmrQgVSJzL7Mw-8x1D2G68nQoefdeVcjqn67S6zm3bwg@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 07:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org