1 (edited by Dan203 2007-04-13 18:13:41)

Topic: No devices found

I have a media center PC I built which has is running a Gigabyte mobo with Intel G965 chipset and a Pentium D processor. I wanted to partition the drive so I could try out Vista. At first I tried a version 3.3 disk I had used a couple months back to do the same thing on my desktop PC. It booted up fine, but the partition editor says "No devices detected" so I couldn't actually do anything. This PC is a little strange in that it has a bunch of SATA ports, but only one IDE port, and yet in the BIOS everything shows up as being on the IDE bus. I thought maybe that was the problem and figured I'd give the newest version a try to see if perhaps this setup had been addressed. So I downloaded GParted 3.4.6 and tried it, but it wont even boot. It gets just past the keyboard map selection and then errors out....

>>Determining root device ...
>>Determining looptype ...
!! Invalid loop location: /gparted.dat
!! Please export LOOP with a valid location, or reboot and pass a proper loop=...
!! kernel command line!

I'm not sure if this matters but the DVD drive I'm using is SATA and the hard drives are IDE. (just the parts I had when I built it)

Anyway, if anyone has any advice as to how to get the older version to see the drives or get the newer version to boot and see the drives, then I would greatly appreciate it. I'm not really a Linux guy, but I'm fairly technical so I should be able to figure it out with proper instruction.

Thanks,
Dan

2

Re: No devices found

Older versions are there : http://sourceforge.net/project/showfile … _id=173828
To boot from SATA drive you need to modify command line :
at prompt, hit "e" to edit
then find : "cdroot" and change it to "cdroot=/dev/sd" (nothing after sd !!!!)
hit escap-key and then press "b" like boot.

tell me if it works : it should

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3

Re: No devices found

No excuse me I am wrong !
What you need to change is : cdroot=/dev/sr0 (0=zero!!!)

I just did it few seconds ago.
I will add this option in next release.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

4

Re: No devices found

Nope. Same error.

Do you think any of the older versions would properly recognize my drives?

Dan

5

Re: No devices found

No the problem doesnt come from iso but from drive !
what you can try is really esay ! Listen :
After this point : "!! kernel command line!", you have the shell, right ?
Then type : "mount /dev/
and press tab-key : it will show up the available devices. It is the way I followed to find out what device was under my external-usb drive !
It might be : sdc, sdd, sr0, sr1, or something else !
I cant remeber the assignement letter for scsi : there is something iffernet of sr, but cant remember what. but you have the answer by doing what I wrote.
Please try and tell me : it is important to fix this kinda problem.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

6

Re: No devices found

Like I said I'm not a linux guy, so I'm not sure what's going on here. However I tried what you said but it doesn't seem to work. Here is the exact output from the error....

>>Determining root device ...
>>Determining looptype ...
!! Invalid loop location: /gparted.dat
!! Please export LOOP with a valid location, or reboot and pass a proper loop=...
!! kernel command line!

BusyBox v1.1.1 (2007.04.12-19:54+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
/newroot #

I tried typing th "mount /dev/" command at the blinking cursor, but it then says...

Can't find /dev/ in /etc/fstab

I'm willing to keep trying anything you suggest as long as your patients hold out. smile

Also just for clarity the reason I asked if an older version would work is because the v3.3 disk I have will complete the boot. It's just that once GParted loads the UI can not find the drives in my PC. This new version wont even boot, but even if we can get it to boot there is no guarantee that the UI program will actually be able to find the drives. That being said I'm willing to help you out in any way I can so that you can fix this problem and prevent future users from having the same troubles.

Dan

7

Re: No devices found

Ok, I made a mistake.
Try this :

ls  dev/

You may first try to type just "ls" and hit "ENTER", then it should show you the directories, in which you should see dev or DEV...
If doesn't work, please just post the output of the "ls" command.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

8

Re: No devices found

Sorry still a mistake !!!
I am currently running the test on other machine :
Do this please :

at the beginning your are here :
/newroot # cd (then hit ENTER) ---------> cd (then one space) then hit ENTER)
then you got this :
/ #
Here, type ls :
/ # ls
It will show the directory ! Now try this :
/ # ls dev/
it will show *many things ! So try to reduce by typing  :
/ # ls dev/s (then hit TAB-KEY), and will show you what we need.
Look something ending with a zero (0) or even a 1.
To be precise, there is only one kind of device like we look for : sr0 or sg0 or dunno what...
But not something with many numbers like : sda1 sda2 sda5. Okay ?

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

9

Re: No devices found

I'm having exactly the same problem.  Same error message etc... Abit AB9, SATA HD and IDE CD drive (going through the sata controller on emulation or something...)

Anyhow, I've found a device "/dev/sg0" which looks right but I can't find where to edit?  You mention "at prompt, hit "e" to edit" but where is this?  The /bin/ash shell doesn't allow this to happen and (running auto-configure) I see nowhere to set this beforehand?

Thanks,
Peter

10

Re: No devices found

OK, well I realised the editing was done on the grub menu smile  The problem now is that it won't remember and changes... I edit "cdroot" to "cdroot=/dev/sg" (trying that first before /dev/sg0), hit the esc key, hit 'b' and the boot command string doesn't include my change.  If I edit, hit esc and then hit 'e' again (to re-edit) my change isn't there either.

I'd love to get this going as I need to resize my XP NTFS partition before I can install some new software smile

11

Re: No devices found

Same problem here. If you press enter after editing the string rather than esc it saves the new command. I've tried it with cdroot=/dev/sg0 and cdroot=/dev/sg1 but still no joy, I still get:

>>Determining root device ...
>>Determining looptype ...
!! Invalid loop location: /gparted.dat
!! Please export LOOP with a valid location, or reboot and pass a proper loop=...
!! kernel command line!

BusyBox v1.1.1 (2007.04.12-19:54+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
/newroot #


I have got a Foxconn motherboard with twin SATA HDs and IDE DVD/RW

12

Re: No devices found

Same problem here.

IDE DVDROM, SATA HD.

Motherboard: Intel DQ965GF

Latest version gparted downloaded today.

Tried the fixes above and pointed cdrom to every device that looked even remotely promising.  No luck.

13

Re: No devices found

If you've got a 965 chipset board, see the following:

http://kbullock.ringworld.org/2007/2/2/ … otherboard

This is the problem for me, as I discovered after failing also to get Knoppix to boot.

14

Re: No devices found

I've solved this particular problem on my HP laptop (dv9000) by changing a BIOS setting to disable Native SATA Support. This allowed GParted to see my SATA drives.

Hope this helps someone else. I got my clue from the link above posted by sm2k.

Thanks and now on to resizing my cloned ntfs partition...

15

Re: No devices found

Thank you for this info smile

*** It is highly recommended to backup any important files before doing resize/move operations. ***