LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-25-2010, 07:48 AM   #16
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0

Now i am rly fcked up

@syg00 - i cant boot live CD anymore w/o my usb-hdd, i get grub error 21 (didnt try script yet because you write LiveCD)
@thorkelljarl - when i write that i got application chrash

Code:
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!          
KCrash: Application 'kwrite' crashing...                       
sock_file=/root/.kde4/socket-linux-760b/kdeinit4__0            
KCrash cannot reach kdeinit, launching directly.               

[1]+  Stopped                 kwrite /boot/grub/menu.lst
Now i cant even run my XP

Last edited by orangina; 06-25-2010 at 07:50 AM.
 
Old 06-25-2010, 08:01 AM   #17
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
An alternative...

Boot SUSE on the USB-HDD as root and open the file "/boot/grub/menu.lst". Post the results.

What did you do that was different to now require the USB-HDD connected before you can boot the live-cd?

If you choose the device to boot from the one-time-boot menu the problem may go away, allowing you to deal with one thing at a time.
 
Old 06-25-2010, 08:07 AM   #18
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0
I wasnt do nothing, didnt touch anything. Since i was install openSUSE on my ext HDD i work on them, didnt try start XP before.

and about /boot/grub/menu.lst
I got permission denied (loged as su)

btw thanks for helping
 
Old 06-25-2010, 08:16 AM   #19
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Not as "su"

I did not mean to use a terminal, but to change users and become "root". You can either log out or switch users, and then log in as username "root"

Last edited by thorkelljarl; 06-25-2010 at 08:23 AM.
 
Old 06-25-2010, 08:34 AM   #20
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0
Lol i cant. I try with login root but "Login failed" try even with password "toor" but failed.. starting pissing off
 
Old 06-25-2010, 08:58 AM   #21
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
?...

I open the SUSE menu, go to the red "Leave" button, choose "logout", and, when the login screen appears, type "root" as the username and my root/su password. A desktop opens with the same privileges that are found as Administrator in Windows.
 
Old 06-25-2010, 09:11 AM   #22
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0
Finaly got it

Code:
# Modified by YaST2. Last modification on Fri Jun 25 12:25:58 CEST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd1,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.12-0.2
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.31.12-0.2-default root=/dev/disk/by-id/usb-SAMSUNG_HM320II_CT1105082434-0:0-part3 resume=/dev/disk/by-id/usb-SAMSUNG_HM320II_CT1105082434-0:0-part2 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.12-0.2-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.12-0.2
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.31.12-0.2-default root=/dev/disk/by-id/usb-SAMSUNG_HM320II_CT1105082434-0:0-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.12-0.2-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,0)
    chainloader +1
 
Old 06-25-2010, 09:48 AM   #23
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
I have to google around...

Is it true that you cannot boot XP under any circumstance, neither with the USB HDD attached nor without, nor if you use the one-time-boot menu to choose the internal HDD, trying both with and without the USB HDD?

If you have an XP installation cd, you can begin by googling to find out how you use it to restore your Windows boot manager. As you describe the facts, with nothing booting, GRUB is the present boot loader and is not pointing correctly at anything to boot.

If you repair Windows, you should be able to deal with GRUB afterwards. Since you want XP to be able to boot without the USB HDD attached, I would repair XP without the USB HDD attached.

If you don't have an XP installation cd, you need to boot into XP and then repair the XP boot loader, something that you cannot now do. Grub can boot into XP; this is something I have no experience with, but I know that the Super Grub Disk will boot XP. There must be information if you google.

http://www.supergrubdisk.org/

We need more eyes and more help on this problem.

Last edited by thorkelljarl; 06-25-2010 at 09:56 AM.
 
Old 06-25-2010, 10:49 AM   #24
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Your fdisk output shows sda as the drive with Linux (sda) while your Grub entries show it as the second drive (hd1). sdb shows windows partitions and your Grub entry for the second drive shows (hd0) which is the opposite of what it normally is. This usually happens when devices are plugged/unplugged during installation. I would suggest you login as root and go to the grub prompt and enter the geometry commands to find out which drive Grub sees as which:

geometry (hd0) - hit enter for output
geometry (hd1) - hit enter for output

One will have ntfs (windows) the other will have Linux.
 
Old 06-25-2010, 10:50 AM   #25
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Your fdisk output shows sda as the drive with Linux (sda) while your Grub entries show it as the second drive (hd1). sdb shows windows partitions and your Grub entry for the second drive shows (hd0) which is the opposite of what it normally is. This usually happens when devices are plugged/unplugged during installation. I would suggest you login as root and go to the grub prompt and enter the geometry commands to find out which drive Grub sees as which:

geometry (hd0) - hit enter for output
geometry (hd1) - hit enter for output

One will have ntfs (windows) the other will have Linux. You may need map commands but don't know without seeing output.
 
Old 06-25-2010, 11:16 AM   #26
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Thanks yancek...

The GRUB prompt will appear if you type the command "grub" in a terminal as "su".
 
Old 06-25-2010, 08:40 PM   #27
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0
Here it is geometry

Code:
rub> geometry (hd0)
drive 0x80: C/H/S = 14593/255/63, The number of sectors = 234441648, /dev/disk/
by-id/ata-HITACHI_HTS541612J9SA00_3H_SB2E41H7D305UE
   Partition num: 0,  Filesystem type unknown, partition type 0x7
   Partition num: 4,  Filesystem type unknown, partition type 0xe

grub> geometry (hd1)
drive 0x81: C/H/S = 38913/255/63, The number of sectors = 625142448, /dev/disk/
by-id/usb-SAMSUNG_HM320II_CT1105082434-0:0
   Partition num: 0,  Filesystem type is fat, partition type 0xc
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 2,  Filesystem type is ext2fs, partition type 0x83

EDIT: I successfuly fix my windows boot and now i can boot w/o ext HDD
EDIT 2: I formated my ext HDD
Now question: What i should do now? how can i install working openSUSE to my extHDD ?

Last edited by orangina; 06-25-2010 at 09:53 PM.
 
Old 06-26-2010, 01:51 AM   #28
orangina
LQ Newbie
 
Registered: Jun 2010
Location: Croatia
Distribution: openSUSE
Posts: 14

Original Poster
Rep: Reputation: 0
Well i success now I have now openSUSE on my ext HDD and XP on internal HDD with working GRUB. Problem was in GRUB - i didnt install GRUB to /dev/sdb. It was all time in /dev/sda.
It was neccessary to switch disk order nothing else. All works ok now except i can go on internet. Status is online (wireless) but i cannot open pages. Thats the only problem what i got. so thank you guys for helping me, i realy appreciate that.
 
Old 10-01-2011, 02:38 PM   #29
oldrifle
LQ Newbie
 
Registered: Oct 2004
Location: Istanbul
Distribution: FUDUNTU 2012
Posts: 8

Rep: Reputation: 0
Install usb hdd

Remove laptop HDD (unplug cable or just unscrew and remove - usually 2 screws)
Plug in USB HDD (nothing else including SD cards)
128 MB or less boot partition followed by ROOT SWAP and HOME partition either using gparted or using windows before removing HDD.
I installed openSUSE 11.0 11.3KDE and UBUNTU 11.3
All worked ok.
will try DUALBOOT soon

Last edited by oldrifle; 10-01-2011 at 02:40 PM.
 
  


Reply



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
Booting from external HDD without BIOS support miguelg Linux - Newbie 11 10-28-2009 05:04 PM
booting from one-touch hdd external .2k Linux - Newbie 1 02-24-2008 12:26 PM
booting from external HDD patchido Ubuntu 1 01-05-2008 04:36 AM
booting machine with linux on an external HDD without HDD connected drsoum Linux - Newbie 2 07-22-2007 03:47 AM
Booting Slackware to USB External HDD linux_weenie Slackware 1 05-15-2005 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 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
Open Source Consulting | Domain Registration