Choose style:

Author Topic: Broken packages  (Read 4163 times)

0 Members and 1 Guest are viewing this topic.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #15 on: October 26, 2015, 08:14:15 pm »
That's not a full list of CPU flags .. can you post the output from:
Code: [Select]
cat /proc/cpuinfo | grep flags
(I could be wrong but I'm pretty sure ALL Pentium 4 CPU's support PAE)



FYI - "inxi -F" only displays these flags on my A10 CPU:-

Quote
lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm

Whereas cpuinfo gives me the FULL list (for each core):-

Quote
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold vmmcall bmi1

Bit of a difference eh ;)
« Last Edit: October 26, 2015, 08:21:29 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #16 on: October 29, 2015, 08:35:27 am »
Some Googlings informed me that basically all the Pentiums processors from '95-97 onwards support PAE, so the Pentium 4 should, which has been indeed confirmed by the latest printout you mentioned and that also I've been able to install successfully Peppermint 6 ;), but now I'm facing another problem, let me explain the steps I followed.
(Not sure if you would prefer that I start another thread? Just let me know if needed)

1. Booted to the Peppermint 6 LiveCD, then used GParted to delete the Peppermint 3 and swap partition, as well as I reallocated the full size of HDD1 /dev/sda for Windows XP.
2. Installed Peppermint 6 on HDD2 /dev/sdb, formating it and creating manually a root local partition Ext4 and a swap logical partition of 4 MB. For Grub booting sequence, I selected putting it on HDD2 /dev/sdb in order to leave HDD1 /dev/sda only for Windows, while HDD2 /dev/sdb only for Linux. I went then to the BIOS settings in order to boot first on HDD2, but couldn't do so as only either CD/USB/HDD1 can be selected, so obviously each time it booted on Windows XP on HDD1...
3. Therefore I resinstalled from scratch Peppermint 6 on HDD2 /dev/sdb with the same settings, but this time selecting HDD1 /dev/sda for Grub booting sequence, but when booting I got the following error message:
Code: [Select]
error: file 'boot/grub/i386-pc/normal.mod' not found
Entering rescue mode...
grub rescue>
4. Used Boot-Repair-Disk and its "Recommened repair" but didn't help -> same booting error messsage
5. Used Boot-Repair-Disk and tried the following Advanced options:
- GRUB location:
"OS to boot by default: sdb5 (Peppermint Six)"
"Place GRUB into: sda"
- Other options:
"Place the boot flag on: sdb5 (Peppermint Six)"
but didn't help -> same booting error messsage
GRUB configuration is under:
http://paste.ubuntu.com/12998612/

Partitions are the following:

/dev/sda1 fat16 flag diag
/dev/sda2 ntfs flag boot

/dev/sdb1 extended
/dev/sdb5 ext4 flag boot
/dev/sdb6 linux-swap

I need basically that it boots on HDD1 and from there I must be able to either continue with Peppermint 6 (HDD2) or with Windows XP (HDD1), can anyone help me please finding the correct GRUB settings? Many thanks in advance!

EDIT: should I restore the Windows MBR with Boot-Repair-Disk, put GRUB on the drive where Peppermint is going, then use EasyBCD as described in https://neosmart.net/wiki/easybcd/dual-boot/linux/ubuntu/ ?
« Last Edit: October 29, 2015, 11:20:41 am by Parcheval »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #17 on: October 29, 2015, 11:24:04 am »
You could do that or you can reinstall GRUB from the LiveCD/LiveUSB

I was about to type up instructions to reinstall GRUB, but now I don't know whether to bother ?

[EDIT]

That may have come out wrong .. what i meant was - do you still want me to, or are you going to try EasyBCD first ?
« Last Edit: October 29, 2015, 11:30:52 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #18 on: October 29, 2015, 12:38:43 pm »
Well, if I can skip installing EasyBCD, that wouldn't be bad so feel free to give me your instructions!  8)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #19 on: October 29, 2015, 12:57:54 pm »
OK, assuming your partitions are as described, boot to the LiveCD/LiveUSB and run these commands in sequence:
Code: [Select]
sudo mount /dev/sdb5 /mnt
then:
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then hit CTRL+D to edit the chroot environment .. then shutdown your PC with
Code: [Select]
sudo shutdown -p now
now reboot normally
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #20 on: October 29, 2015, 01:20:33 pm »
I've just done it, copying/pasting the commands (by the way it's "sudo shutdown -P now" with P in uppercase), but unfortunately with the same result:
Code: [Select]
error: file 'boot/grub/i386-pc/normal.mod' not found
Entering rescue mode...
grub rescue>
:(

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #21 on: October 29, 2015, 02:07:47 pm »
Is this a UEFI system ?

and which version of Peppermint 6 are you using .. ie. 64bit or 32bit, and the original version of the respin ?

Can you also post the output from:
Code: [Select]
sudo fdisk -l
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #22 on: October 29, 2015, 02:52:00 pm »
Code: [Select]
dmesg | grep "EFI v"
or
Code: [Select]
dmesg | grep -i EFI
do not return anything so must be BIOS.

Using "Peppermint-6-20150904-i386.iso" 32bits version so I guess it's the original respin.

Here's the output
Code: [Select]
peppermint@peppermint ~ $ sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x41172ba5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63       64259       32098+  de  Dell Utility
/dev/sda2   *       64260   156248063    78091902    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 164.7 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders, total 321672960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00008dee

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2046   321671167   160834561    5  Extended
/dev/sdb5   *        2048   313853951   156925952   83  Linux
/dev/sdb6       313856000   321671167     3907584   82  Linux swap / Solaris

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #23 on: October 29, 2015, 04:51:17 pm »
Is there anything in your BIOS about either Legacy BIOS, CSM, or Secure boot ?

I wouldn't expect so on a Pentium 4 PC, but I need to ask.

[EDIT]

normal.mod would normally be found at
/usr/lib/grub/i386-pc/normal.mod
so I don't know why it's looking for it in /boot  :-\

I suppose you could always try copying it from
/usr/lib/grub/i386-pc/normal.mod
to
boot/grub/i386-pc/normal.mod
« Last Edit: October 29, 2015, 04:59:44 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #24 on: November 02, 2015, 06:26:39 am »
Tried this, but didn't work either...

So I thought to simply install GRUB on /dev/sdb so it would boot on Windows, then I ran EasyBCD but seems it screwed it up since now it doesn't boot on Windows either:
Code: [Select]
Windows XP could not start because the below file is missing or corrupt:
\System32\\Ntoskrnl.exe

Tried many times to recover following this for example:
http://icrontic.com/article/repair_windows_xp in order to restore MBR and Windows boot but haven't been successful so far... Will keep on trying and come back in order to see how I can manage the Dual Booting, but first I must be able to fix it so it boots again on Windows...

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26454
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #25 on: November 02, 2015, 04:39:02 pm »
it appears to be looking for Ntoskernel.exe in the wrong place .. see here:
https://neosmart.net/wiki/ntoskrnl-exe-missing-corrupt/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec