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 > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-24-2011, 01:58 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

Hi

I cannot boot my ubuntu 11.10 64bit without a usb with ubuntu image on
it. I tried to grub-install /dev/sda (no error)
and that did not fix it. Once I boot, I don't need the usb flash drive
anymore. So I am guessing grub2
is not setup right.

Here is my fs setup http://pastebin.com/1uaseXFL

Any suggestion would be appreciated



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 07:48 PM
Ioannis Vranos
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 4:58 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> Hi
>
> I cannot boot my ubuntu 11.10 64bit without a usb with ubuntu image on
> it. I tried to grub-install /dev/sda (no error)
> and that did not fix it. Once I boot, I don't need the usb flash drive
> anymore. So I am guessing grub2
> is not setup right.
>
> Here is my fs setup http://pastebin.com/1uaseXFL
>
> Any suggestion would be appreciated


When you boot via the USB drive, do you select the option "Boot from
the first had disk", or you boot some other way?

What is the error message you get without the USB drive?


--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 07:52 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 3:48 PM, Ioannis Vranos
<ioannis.vranos@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 4:58 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>> Hi
>>
>> I cannot boot my ubuntu 11.10 64bit without a usb with ubuntu image on
>> it. I tried to grub-install /dev/sda (no error)
>> and that did not fix it. Once I boot, I don't need the usb flash drive
>> anymore. So I am guessing grub2
>> is not setup right.
>>
>> Here is my fs setup http://pastebin.com/1uaseXFL
>>
>> Any suggestion would be appreciated
>
>
> When you boot via the USB drive, do you select the option "Boot from
> the first had disk", or you boot some other way?

boot order is setup as usb/harddisk/network

>
> What is the error message you get without the USB drive?
>

it tries PXE.. and when I force the harddisk .. it says no openrating
system found or something like that.


>
> --
> Ioannis Vranos
>
> http://www.cpp-software.net
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 08:40 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 3:52 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 3:48 PM, Ioannis Vranos
> <ioannis.vranos@gmail.com> wrote:
>> On Mon, Oct 24, 2011 at 4:58 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>>> Hi
>>>
>>> I cannot boot my ubuntu 11.10 64bit without a usb with ubuntu image on
>>> it. I tried to grub-install /dev/sda (no error)
>>> and that did not fix it. Once I boot, I don't need the usb flash drive
>>> anymore. So I am guessing grub2
>>> is not setup right.
>>>
>>> Here is my fs setup http://pastebin.com/1uaseXFL
>>>
>>> Any suggestion would be appreciated
>>
>>
>> When you boot via the USB drive, do you select the option "Boot from
>> the first had disk", or you boot some other way?
>
> boot order is setup as usb/harddisk/network
>
>>
>> What is the error message you get without the USB drive?
>>
>
> it tries PXE.. and when I force the harddisk .. it says no openrating
> system found or something like that.

it says

"Non-System disk or disk error
replace and strike any key when ready"


>
>
>>
>> --
>> Ioannis Vranos
>>
>> http://www.cpp-software.net
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 08:40 PM
Ioannis Vranos
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 10:52 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>> When you boot via the USB drive, do you select the option "Boot from
>> the first had disk", or you boot some other way?
>
> boot order is setup as usb/harddisk/network
>
>>
>> What is the error message you get without the USB drive?
>>
>
> it tries PXE.. and when I force the harddisk .. it says no openrating
> system found or something like that.

I noticed that your /boot partition is in the first hard disk, and
your encrypted / is on the second hard drive.


Try running sudo update-grub.





--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 08:48 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 4:40 PM, Ioannis Vranos
<ioannis.vranos@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 10:52 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>>> When you boot via the USB drive, do you select the option "Boot from
>>> the first had disk", or you boot some other way?
>>
>> boot order is setup as usb/harddisk/network
>>
>>>
>>> What is the error message you get without the USB drive?
>>>
>>
>> it tries PXE.. and when I force the harddisk .. it says no openrating
>> system found or something like that.
>
> I noticed that your /boot partition is in the first hard disk, and
> your encrypted / is on the second hard drive.
>
>
> Try running sudo update-grub.

exact same error

"Non-System disk or disk error
replace and strike any key when ready"


>
>
>
>
>
> --
> Ioannis Vranos
>
> http://www.cpp-software.net
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 08:51 PM
Ioannis Vranos
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 11:48 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 4:40 PM, Ioannis Vranos
> <ioannis.vranos@gmail.com> wrote:
>> Try running sudo update-grub.
>
> exact same error

What is the output of sudo update-grub?

Also, do you have the Hard Disk 1 to boot first?



--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 08:56 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 4:51 PM, Ioannis Vranos
<ioannis.vranos@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 11:48 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>> On Mon, Oct 24, 2011 at 4:40 PM, Ioannis Vranos
>> <ioannis.vranos@gmail.com> wrote:
>>> Try running sudo update-grub.
>>
>> exact same error
>
> What is the output of sudo update-grub?

iqbala@ghar-iqbala:~$ sudo update-grub
[sudo] password for iqbala:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /memtest86+.bin
done



>
> Also, do you have the Hard Disk 1 to boot first?

no /dev/sda1 is /boot and /dev/sdb5 is the crypted fs

iqbala@ghar-iqbala:~$ sudo fdisk /dev/sda

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.

Command (m for help): p

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0005266a

Device Boot Start End Blocks Id System
/dev/sda1 2048 499711 248832 83 Linux
/dev/sda2 501758 1465147391 732322817 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 501760 1465147391 732322816 83 Linux


>
>
>
> --
> Ioannis Vranos
>
> http://www.cpp-software.net
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 09:04 PM
Ioannis Vranos
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 11:56 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 4:51 PM, Ioannis Vranos
> <ioannis.vranos@gmail.com> wrote:
>> On Mon, Oct 24, 2011 at 11:48 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>>> On Mon, Oct 24, 2011 at 4:40 PM, Ioannis Vranos
>>> <ioannis.vranos@gmail.com> wrote:
>>>> Try running sudo update-grub.
>>>
>>> exact same error
>>
>> What is the output of sudo update-grub?
>
> iqbala@ghar-iqbala:~$ sudo update-grub
> [sudo] password for iqbala:
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.0.0-12-generic
> Found initrd image: /boot/initrd.img-3.0.0-12-generic
> Found memtest86+ image: /memtest86+.bin
> done
>
>
>
>>
>> Also, do you have the Hard Disk 1 to boot first?
>
> no /dev/sda1 is /boot and /dev/sdb5 is the crypted fs
>
> iqbala@ghar-iqbala:~$ sudo fdisk /dev/sda
>
> The device presents a logical sector size that is smaller than
> the physical sector size. Aligning to a physical sector (or optimal
> I/O) size boundary is recommended, or performance may be impacted.
>
> Command (m for help): p
>
> Disk /dev/sda: 750.2 GB, 750156374016 bytes
> 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x0005266a
>
> * Device Boot * * *Start * * * * End * * *Blocks * Id *System
> /dev/sda1 * * * * * *2048 * * *499711 * * *248832 * 83 *Linux
> /dev/sda2 * * * * *501758 *1465147391 * 732322817 * *5 *Extended
> Partition 2 does not start on physical sector boundary.
> /dev/sda5 * * * * *501760 *1465147391 * 732322816 * 83 *Linux


Try editting /etc/crypttab and make it:

sdb5_crypt /dev/sda5 none luks


(leave "sdb5_crypt" string as it is), and reboot.


--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-24-2011, 09:10 PM
Asif Iqbal
 
Default cannpt boot lvm with encrypted volume without usb

On Mon, Oct 24, 2011 at 5:04 PM, Ioannis Vranos
<ioannis.vranos@gmail.com> wrote:
> On Mon, Oct 24, 2011 at 11:56 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>> On Mon, Oct 24, 2011 at 4:51 PM, Ioannis Vranos
>> <ioannis.vranos@gmail.com> wrote:
>>> On Mon, Oct 24, 2011 at 11:48 PM, Asif Iqbal <vadud3@gmail.com> wrote:
>>>> On Mon, Oct 24, 2011 at 4:40 PM, Ioannis Vranos
>>>> <ioannis.vranos@gmail.com> wrote:
>>>>> Try running sudo update-grub.
>>>>
>>>> exact same error
>>>
>>> What is the output of sudo update-grub?
>>
>> iqbala@ghar-iqbala:~$ sudo update-grub
>> [sudo] password for iqbala:
>> Generating grub.cfg ...
>> Found linux image: /boot/vmlinuz-3.0.0-12-generic
>> Found initrd image: /boot/initrd.img-3.0.0-12-generic
>> Found memtest86+ image: /memtest86+.bin
>> done
>>
>>
>>
>>>
>>> Also, do you have the Hard Disk 1 to boot first?
>>
>> no /dev/sda1 is /boot and /dev/sdb5 is the crypted fs
>>
>> iqbala@ghar-iqbala:~$ sudo fdisk /dev/sda
>>
>> The device presents a logical sector size that is smaller than
>> the physical sector size. Aligning to a physical sector (or optimal
>> I/O) size boundary is recommended, or performance may be impacted.
>>
>> Command (m for help): p
>>
>> Disk /dev/sda: 750.2 GB, 750156374016 bytes
>> 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 4096 bytes
>> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>> Disk identifier: 0x0005266a
>>
>> * Device Boot * * *Start * * * * End * * *Blocks * Id *System
>> /dev/sda1 * * * * * *2048 * * *499711 * * *248832 * 83 *Linux
>> /dev/sda2 * * * * *501758 *1465147391 * 732322817 * *5 *Extended
>> Partition 2 does not start on physical sector boundary.
>> /dev/sda5 * * * * *501760 *1465147391 * 732322816 * 83 *Linux
>
>
> Try editting /etc/crypttab and make it:
>
> sdb5_crypt * /dev/sda5 * * none * * luks
>
>
> (leave "sdb5_crypt" string as it is), and reboot.
>

did not help. exact same non-system disk error. I can still boot fine
with the usb flashdrive
with ubuntu 11.10 64bit alternate iso

>
> --
> Ioannis Vranos
>
> http://www.cpp-software.net
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:08 AM.

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